diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-01 17:30:19 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-08 11:32:28 -0400 |
| commit | 6fdbece55f7ccba7ac16808bd62ead27d6da9500 (patch) | |
| tree | fdbfe6ce498d923eb7a8cb12ea3150c14c43e33f /src/test/ui/const-generics/array-wrapper-struct-ctor.rs | |
| parent | 072942d569b898ef65569a21bd1b73d15cc1caf6 (diff) | |
| download | rust-6fdbece55f7ccba7ac16808bd62ead27d6da9500.tar.gz rust-6fdbece55f7ccba7ac16808bd62ead27d6da9500.zip | |
Update test stderr with results of enabling unused lints
Diffstat (limited to 'src/test/ui/const-generics/array-wrapper-struct-ctor.rs')
| -rw-r--r-- | src/test/ui/const-generics/array-wrapper-struct-ctor.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/const-generics/array-wrapper-struct-ctor.rs b/src/test/ui/const-generics/array-wrapper-struct-ctor.rs index d83846fcf88..2d1a405ebdd 100644 --- a/src/test/ui/const-generics/array-wrapper-struct-ctor.rs +++ b/src/test/ui/const-generics/array-wrapper-struct-ctor.rs @@ -3,6 +3,8 @@ #![feature(const_generics)] //~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash +#![allow(dead_code)] + struct ArrayStruct<T, const N: usize> { data: [T; N], } |
