summaryrefslogtreecommitdiffstats
path: root/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/on-unimplemented/feature-gate-on-unimplemented.rs')
-rw-r--r--src/test/ui/on-unimplemented/feature-gate-on-unimplemented.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.rs b/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.rs
deleted file mode 100644
index 3cc50e349..000000000
--- a/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-// Test that `#[rustc_on_unimplemented]` is gated by `rustc_attrs` feature gate.
-
-#[rustc_on_unimplemented = "test error `{Self}` with `{Bar}`"]
-//~^ ERROR this is an internal attribute that will never be stable
-trait Foo<Bar>
-{}
-
-fn main() {}