diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-feature-gate.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-feature-gate.stderr b/src/test/ui/feature-gates/feature-gate-feature-gate.stderr new file mode 100644 index 000000000..ad97741da --- /dev/null +++ b/src/test/ui/feature-gates/feature-gate-feature-gate.stderr @@ -0,0 +1,14 @@ +error: unstable feature + --> $DIR/feature-gate-feature-gate.rs:2:12 + | +LL | #![feature(intrinsics)] + | ^^^^^^^^^^ + | +note: the lint level is defined here + --> $DIR/feature-gate-feature-gate.rs:1:11 + | +LL | #![forbid(unstable_features)] + | ^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + |