diff options
Diffstat (limited to 'tests/ui/rfc-2632-const-trait-impl/staged-api-user-crate.stderr')
-rw-r--r-- | tests/ui/rfc-2632-const-trait-impl/staged-api-user-crate.stderr | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/ui/rfc-2632-const-trait-impl/staged-api-user-crate.stderr b/tests/ui/rfc-2632-const-trait-impl/staged-api-user-crate.stderr deleted file mode 100644 index d7aa0d95c..000000000 --- a/tests/ui/rfc-2632-const-trait-impl/staged-api-user-crate.stderr +++ /dev/null @@ -1,12 +0,0 @@ -error[E0015]: cannot call non-const fn `<staged_api::Unstable as staged_api::MyTrait>::func` in constant functions - --> $DIR/staged-api-user-crate.rs:12:5 - | -LL | Unstable::func(); - | ^^^^^^^^^^^^^^^^ - | - = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants - = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0015`. |