rust/src/test/ui/non-constant-in-const-path.stderr

10 lines
270 B
Plaintext

error[E0080]: runtime values cannot be referenced in patterns
--> $DIR/non-constant-in-const-path.rs:14:15
|
LL | 0 ..= x => {}
| ^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0080`.