about summary refs log tree commit diff
path: root/tests/ui/unstable-feature-bound/unstable-feature-bound-two-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unstable-feature-bound/unstable-feature-bound-two-error.stderr')
-rw-r--r--tests/ui/unstable-feature-bound/unstable-feature-bound-two-error.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/unstable-feature-bound/unstable-feature-bound-two-error.stderr b/tests/ui/unstable-feature-bound/unstable-feature-bound-two-error.stderr
new file mode 100644
index 00000000000..673d10ce2ad
--- /dev/null
+++ b/tests/ui/unstable-feature-bound/unstable-feature-bound-two-error.stderr
@@ -0,0 +1,13 @@
+error[E0658]: use of unstable library feature `feat_bar`
+  --> $DIR/unstable-feature-bound-two-error.rs:9:5
+   |
+LL |     Bar::foo();
+   |     ^^^
+   |
+   = help: add `#![feature(feat_bar)]` to the crate attributes to enable
+   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
+   = note: required for `Bar` to implement `Foo`
+
+error: aborting due to 1 previous error
+
+For more information about this error, try `rustc --explain E0658`.