From 37e2f4f48743b3d89cd016e50c1d29c9ace1dd06 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Thu, 16 Feb 2023 14:03:31 +0000 Subject: Make `configure_and_expand` "infalllible" by just aborting the compilation if it fails instead of bubbling out an error --- tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/rustdoc-ui/feature-gate-rustdoc_missing_doc_code_examples.rs') 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 -- cgit 1.4.1-3-g733a5