summaryrefslogtreecommitdiffstats
path: root/tests/ui/stability-attribute/default-body-stability-err.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/stability-attribute/default-body-stability-err.stderr')
-rw-r--r--tests/ui/stability-attribute/default-body-stability-err.stderr14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/ui/stability-attribute/default-body-stability-err.stderr b/tests/ui/stability-attribute/default-body-stability-err.stderr
index ef666f30f..12ec9ea3a 100644
--- a/tests/ui/stability-attribute/default-body-stability-err.stderr
+++ b/tests/ui/stability-attribute/default-body-stability-err.stderr
@@ -18,8 +18,18 @@ LL | impl JustTrait for Type {}
= note: use of unstable library feature 'fun_default_body'
= help: add `#![feature(fun_default_body)]` to the crate attributes to enable
+error[E0046]: not all trait items implemented, missing: `fun2`
+ --> $DIR/default-body-stability-err.rs:10:1
+ |
+LL | impl JustTrait for Type {}
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: default implementation of `fun2` is unstable
+ = note: use of unstable library feature 'fun_default_body': reason
+ = help: add `#![feature(fun_default_body)]` to the crate attributes to enable
+
error[E0046]: not all trait items implemented, missing: `eq`
- --> $DIR/default-body-stability-err.rs:14:1
+ --> $DIR/default-body-stability-err.rs:15:1
|
LL | / impl Equal for Type {
LL | |
@@ -33,6 +43,6 @@ LL | | }
= note: use of unstable library feature 'eq_default_body'
= help: add `#![feature(eq_default_body)]` to the crate attributes to enable
-error: aborting due to 3 previous errors
+error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0046`.