]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/min_const_generics/feature-gate-min_const_generics.stderr
Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov
[rust.git] / src / test / ui / const-generics / min_const_generics / feature-gate-min_const_generics.stderr
1 error[E0658]: const generics are unstable
2   --> $DIR/feature-gate-min_const_generics.rs:1:15
3    |
4 LL | fn test<const N: usize>() {}
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`.