]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants |
74b04a01 XL |
2 | --> $DIR/const-check-fns-in-const-impl.rs:12:16 |
3 | | | |
4 | LL | fn foo() { non_const() } | |
5 | | ^^^^^^^^^^^ | |
74b04a01 XL |
6 | |
7 | error: aborting due to previous error | |
8 | ||
1b1a35ee | 9 | For more information about this error, try `rustc --explain E0015`. |