]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2632-const-trait-impl/const-check-fns-in-const-impl.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / const-check-fns-in-const-impl.stderr
CommitLineData
1b1a35ee 1error[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 |
4LL | fn foo() { non_const() }
5 | ^^^^^^^^^^^
74b04a01
XL
6
7error: aborting due to previous error
8
1b1a35ee 9For more information about this error, try `rustc --explain E0015`.