rust/src/test/ui/issues/issue-28113.stderr

10 lines
296 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
2018-12-25 09:56:47 -06:00
--> $DIR/issue-28113.rs:4:5
2018-07-15 16:11:54 -05:00
|
LL | || -> u8 { 5 }()
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0015`.