about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doc-include-suggestion.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/rustdoc-ui/doc-include-suggestion.rs
parent5ce15af6b1d0c16df722db929dc81b9a97c2bd1f (diff)
downloadrust-8e817af3ae955aec532eba3d5eaaaf6621b700fa.tar.gz
rust-8e817af3ae955aec532eba3d5eaaaf6621b700fa.zip
Update ui tests
Diffstat (limited to 'tests/rustdoc-ui/doc-include-suggestion.rs')
-rw-r--r--tests/rustdoc-ui/doc-include-suggestion.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/rustdoc-ui/doc-include-suggestion.rs b/tests/rustdoc-ui/doc-include-suggestion.rs
index 5c8d1efa76f..aff0a24ace8 100644
--- a/tests/rustdoc-ui/doc-include-suggestion.rs
+++ b/tests/rustdoc-ui/doc-include-suggestion.rs
@@ -1,10 +1,6 @@
-//@ check-pass
-
 #[doc(include = "external-cross-doc.md")]
-//~^ WARNING unknown `doc` attribute `include`
+//~^ ERROR unknown `doc` attribute `include`
 //~| HELP use `doc = include_str!` instead
 // FIXME(#85497): make this a deny instead so it's more clear what's happening
 //~| NOTE on by default
-//~| WARNING previously accepted
-//~| NOTE see issue #82730
 pub struct NeedMoreDocs;