]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-param-in-trait-ungated.stderr
Add revisions to const generic type-dependent UI tests.
[rust.git] / src / test / ui / const-generics / const-param-in-trait-ungated.stderr
1 error[E0658]: const generics are unstable
2   --> $DIR/const-param-in-trait-ungated.rs:1:19
3    |
4 LL | trait Trait<const T: ()> {}
5    |                   ^
6    |
7    = note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
8    = help: add `#![feature(min_const_generics)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.