From 837b550238aa671a591ccf282dddeab29cadb206 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:42 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- tests/rustdoc-ui/lints/deny-missing-docs-macro.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/rustdoc-ui/lints/deny-missing-docs-macro.rs (limited to 'tests/rustdoc-ui/lints/deny-missing-docs-macro.rs') diff --git a/tests/rustdoc-ui/lints/deny-missing-docs-macro.rs b/tests/rustdoc-ui/lints/deny-missing-docs-macro.rs new file mode 100644 index 000000000..b1c125317 --- /dev/null +++ b/tests/rustdoc-ui/lints/deny-missing-docs-macro.rs @@ -0,0 +1,8 @@ +//! foo + +#![deny(missing_docs)] + +#[macro_export] +macro_rules! foo { //~ ERROR + () => {} +} -- cgit v1.2.3