diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-02-16 14:03:31 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-02-20 15:28:59 +0000 |
| commit | 37e2f4f48743b3d89cd016e50c1d29c9ace1dd06 (patch) | |
| tree | c5e7b6a4d442449ac405cc04a713e4ba5530f47f /tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs | |
| parent | 63c8d000904fcb09cae22fba1768b955e354ebb8 (diff) | |
| download | rust-37e2f4f48743b3d89cd016e50c1d29c9ace1dd06.tar.gz rust-37e2f4f48743b3d89cd016e50c1d29c9ace1dd06.zip | |
Make `configure_and_expand` "infalllible" by just aborting the compilation if it fails instead of bubbling out an error
Diffstat (limited to 'tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs')
| -rw-r--r-- | tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs b/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs index daba6986864..c34ea0567a9 100644 --- a/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs +++ b/tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs @@ -1,10 +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 |
