diff options
| author | jyn <github@jyn.dev> | 2023-04-29 04:25:04 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-04-29 11:36:19 -0500 |
| commit | 5da288f842f5616d58dc98338a833addf8a3cb2b (patch) | |
| tree | 2f8b35318ecc63e80b7483bd2740a7af96c91564 /tests/rustdoc-ui/lints/deny-missing-docs-macro.rs | |
| parent | 5fa975142f98939222e12e8ca1338185cc7feb1c (diff) | |
| download | rust-5da288f842f5616d58dc98338a833addf8a3cb2b.tar.gz rust-5da288f842f5616d58dc98338a833addf8a3cb2b.zip | |
move lint tests into subdirectories
Diffstat (limited to 'tests/rustdoc-ui/lints/deny-missing-docs-macro.rs')
| -rw-r--r-- | tests/rustdoc-ui/lints/deny-missing-docs-macro.rs | 8 |
1 files changed, 8 insertions, 0 deletions
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 00000000000..b1c1253176b --- /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 + () => {} +} |
