about summary refs log tree commit diff
path: root/src/test/ui/feature-gates
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2019-10-07 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-01-09 07:54:02 +0100
commit36d08125705598aa12ceb092f34c332fbba12c65 (patch)
tree1c1f043a8b2d3016619293422e5943cb92dc4e6b /src/test/ui/feature-gates
parent78e7eeeaa1f93f40fa96c36194b1afdfbfdb7364 (diff)
downloadrust-36d08125705598aa12ceb092f34c332fbba12c65.tar.gz
rust-36d08125705598aa12ceb092f34c332fbba12c65.zip
Remove sanitizer_runtime attribute
Diffstat (limited to 'src/test/ui/feature-gates')
-rw-r--r--src/test/ui/feature-gates/feature-gate-sanitizer-runtime.rs3
-rw-r--r--src/test/ui/feature-gates/feature-gate-sanitizer-runtime.stderr11
2 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-sanitizer-runtime.rs b/src/test/ui/feature-gates/feature-gate-sanitizer-runtime.rs
deleted file mode 100644
index 3b972c117a6..00000000000
--- a/src/test/ui/feature-gates/feature-gate-sanitizer-runtime.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-#![sanitizer_runtime] //~ ERROR the `#[sanitizer_runtime]` attribute is
-
-fn main() {}
diff --git a/src/test/ui/feature-gates/feature-gate-sanitizer-runtime.stderr b/src/test/ui/feature-gates/feature-gate-sanitizer-runtime.stderr
deleted file mode 100644
index b13ec215f8c..00000000000
--- a/src/test/ui/feature-gates/feature-gate-sanitizer-runtime.stderr
+++ /dev/null
@@ -1,11 +0,0 @@
-error[E0658]: the `#[sanitizer_runtime]` attribute is used to identify crates that contain the runtime of a sanitizer and will never be stable
-  --> $DIR/feature-gate-sanitizer-runtime.rs:1:1
-   |
-LL | #![sanitizer_runtime]
-   | ^^^^^^^^^^^^^^^^^^^^^
-   |
-   = help: add `#![feature(sanitizer_runtime)]` to the crate attributes to enable
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0658`.