]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-expression-parameter.stderr
pin docs: add some forward references
[rust.git] / src / test / ui / const-generics / const-expression-parameter.stderr
1 error: expected one of `,` or `>`, found `+`
2   --> $DIR/const-expression-parameter.rs:13:22
3    |
4 LL |     i32_identity::<1 + 2>();
5    |                      ^ expected one of `,` or `>`
6
7 warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
8   --> $DIR/const-expression-parameter.rs:1:12
9    |
10 LL | #![feature(const_generics)]
11    |            ^^^^^^^^^^^^^^
12    |
13    = note: `#[warn(incomplete_features)]` on by default
14    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
15
16 error: aborting due to previous error; 1 warning emitted
17