]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/cross-crate.gated.stderr
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / cross-crate.gated.stderr
1 error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
2   --> $DIR/cross-crate.rs:15:5
3    |
4 LL |     NonConst.func();
5    |     ^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0015`.