From f2c0802b3325ca07681e8b5745690127a68cc037 Mon Sep 17 00:00:00 2001 From: apiraino Date: Wed, 18 Jun 2025 22:40:54 +0200 Subject: Ensure rustfmt is invoked without edition parameter --- test-project/src/rustfmt-default.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test-project/src/rustfmt-default.rs (limited to 'test-project/src/rustfmt-default.rs') diff --git a/test-project/src/rustfmt-default.rs b/test-project/src/rustfmt-default.rs new file mode 100644 index 0000000..3138c9c --- /dev/null +++ b/test-project/src/rustfmt-default.rs @@ -0,0 +1,5 @@ +// this file ensures that by default rustfmt is invoked without parameters +// and formats with its default (--edition=2015 as of today) + +// With --edition=2024 this import will be reordered +use std::{i16, i8}; -- cgit v1.2.3