We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a6a5f commit 54e8216Copy full SHA for 54e8216
src/librustdoc/doctest.rs
@@ -333,7 +333,7 @@ fn run_test(
333
(true, false) => {}
334
(false, true) => {
335
if !error_codes.is_empty() {
336
- error_codes.retain(|err| !out.contains(&format!("error[{}]: ", err)));
+ error_codes.retain(|err| !out.contains(&format!("error[{}]", err)));
337
338
339
return Err(TestFailure::MissingErrorCodes(error_codes));
0 commit comments