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/feature-gate-rustdoc_missing_doc_code_examples.rs | |
parent | 5fa975142f98939222e12e8ca1338185cc7feb1c (diff) | |
download | rust-5da288f842f5616d58dc98338a833addf8a3cb2b.tar.gz |
move lint tests into subdirectories
Diffstat (limited to 'tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs')
-rw-r--r-- | tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs b/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs new file mode 100644 index 00000000000..c34ea0567a9 --- /dev/null +++ b/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs @@ -0,0 +1,12 @@ +#![deny(unknown_lints)] +//~^ NOTE defined here +#![allow(rustdoc::missing_doc_code_examples)] +//~^ ERROR unknown lint +//~| ERROR unknown lint +//~| ERROR unknown lint +//~| NOTE lint is unstable +//~| NOTE lint is unstable +//~| NOTE lint is unstable +//~| NOTE see issue +//~| NOTE see issue +//~| NOTE see issue |