]> git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/const-parameter-uppercase-lint.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / const-generics / const-parameter-uppercase-lint.stderr
1 warning: the feature `const_generics` is incomplete and may cause the compiler to crash
2 --> $DIR/const-parameter-uppercase-lint.rs:1:12
3 |
4 LL | #![feature(const_generics)]
5 | ^^^^^^^^^^^^^^
6
7 error[E0601]: `main` function not found in crate `const_parameter_uppercase_lint`
8 |
9 = note: consider adding a `main` function to `$DIR/const-parameter-uppercase-lint.rs`
10
11 error: const generics in any position are currently unsupported
12 --> $DIR/const-parameter-uppercase-lint.rs:6:15
13 |
14 LL | fn noop<const x: u32>() {
15 | ^
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0601`.