summaryrefslogtreecommitdiffstats
path: root/src/test/ui/stability-attribute/allow-unstable-reexport.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/stability-attribute/allow-unstable-reexport.stderr')
-rw-r--r--src/test/ui/stability-attribute/allow-unstable-reexport.stderr27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/test/ui/stability-attribute/allow-unstable-reexport.stderr b/src/test/ui/stability-attribute/allow-unstable-reexport.stderr
new file mode 100644
index 000000000..a11da9dc8
--- /dev/null
+++ b/src/test/ui/stability-attribute/allow-unstable-reexport.stderr
@@ -0,0 +1,27 @@
+error[E0658]: use of unstable library feature 'unstable_test_feature'
+ --> $DIR/allow-unstable-reexport.rs:22:9
+ |
+LL | pub use lint_stability::unstable as unstable2;
+ | ^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
+
+error[E0658]: use of unstable library feature 'unstable_test_feature'
+ --> $DIR/allow-unstable-reexport.rs:28:5
+ |
+LL | unstable();
+ | ^^^^^^^^
+ |
+ = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
+
+error[E0658]: use of unstable library feature 'unstable_test_feature': text
+ --> $DIR/allow-unstable-reexport.rs:29:5
+ |
+LL | unstable_text();
+ | ^^^^^^^^^^^^^
+ |
+ = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable
+
+error: aborting due to 3 previous errors
+
+For more information about this error, try `rustc --explain E0658`.