diff options
| author | Sibi Prabakaran <sibi@psibi.in> | 2025-06-20 14:59:25 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 14:59:25 +0530 |
| commit | 8cfcdd166b6c34b0eac3bc69b0141678a48db33d (patch) | |
| tree | 92b66dcef473a9ef7fd8d14b208f799d68a0a859 /test-project/src/rustfmt-default.rs | |
| parent | 0d5d54a19e89f9012f3fa84174f562ab18cebb96 (diff) | |
| parent | f2c0802b3325ca07681e8b5745690127a68cc037 (diff) | |
| download | rust-mode-8cfcdd166b6c34b0eac3bc69b0141678a48db33d.tar.gz | |
Merge pull request #571 from apiraino/rustfmt-2018-edition-default
Ensure rustfmt is invoked without edition parameter
Diffstat (limited to 'test-project/src/rustfmt-default.rs')
| -rw-r--r-- | test-project/src/rustfmt-default.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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}; |
