diff options
Diffstat (limited to 'src/test/ui/const-generics/unused_braces.rs')
-rw-r--r-- | src/test/ui/const-generics/unused_braces.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/const-generics/unused_braces.rs b/src/test/ui/const-generics/unused_braces.rs deleted file mode 100644 index 47f0f8c1c..000000000 --- a/src/test/ui/const-generics/unused_braces.rs +++ /dev/null @@ -1,11 +0,0 @@ -// check-pass -// run-rustfix -#![warn(unused_braces)] - -struct A<const N: usize>; - -fn main() { - let _: A<7>; // ok - let _: A<{ 7 }>; //~ WARN unnecessary braces - let _: A<{ 3 + 5 }>; // ok -} |