]> git.lizzy.rs Git - rust.git/blob - src/test/ui/non-constant-in-const-path.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / non-constant-in-const-path.stderr
1 error[E0080]: runtime values cannot be referenced in patterns
2   --> $DIR/non-constant-in-const-path.rs:4:15
3    |
4 LL |         0 ..= x => {}
5    |               ^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0080`.