]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/nested-type.full.stderr
Move generic error message to separate branches
[rust.git] / src / test / ui / const-generics / nested-type.full.stderr
1 error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
2   --> $DIR/nested-type.rs:15:5
3    |
4 LL |     Foo::<17>::value()
5    |     ^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0015`.