about summary refs log tree commit diff
path: root/tests/ui/rustdoc/doc-test-attr.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-02-29 14:43:11 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-02-29 14:43:43 +0100
commit8e817af3ae955aec532eba3d5eaaaf6621b700fa (patch)
tree0e62841f5a4286a58d5a7bc7a2dff062d7857629 /tests/ui/rustdoc/doc-test-attr.rs
parent5ce15af6b1d0c16df722db929dc81b9a97c2bd1f (diff)
downloadrust-8e817af3ae955aec532eba3d5eaaaf6621b700fa.tar.gz
rust-8e817af3ae955aec532eba3d5eaaaf6621b700fa.zip
Update ui tests
Diffstat (limited to 'tests/ui/rustdoc/doc-test-attr.rs')
-rw-r--r--tests/ui/rustdoc/doc-test-attr.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/ui/rustdoc/doc-test-attr.rs b/tests/ui/rustdoc/doc-test-attr.rs
index 46178ad865a..fb3db6a80fa 100644
--- a/tests/ui/rustdoc/doc-test-attr.rs
+++ b/tests/ui/rustdoc/doc-test-attr.rs
@@ -3,12 +3,9 @@
 
 #![doc(test)]
 //~^ ERROR `#[doc(test(...)]` takes a list of attributes
-//~^^ WARN this was previously accepted by the compiler
 #![doc(test = "hello")]
 //~^ ERROR `#[doc(test(...)]` takes a list of attributes
-//~^^ WARN this was previously accepted by the compiler
 #![doc(test(a))]
 //~^ ERROR unknown `doc(test)` attribute `a`
-//~^^ WARN this was previously accepted by the compiler
 
 pub fn foo() {}