File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -336,6 +336,12 @@ impl<'a> Filter<'a> {
336
336
return None ;
337
337
}
338
338
339
+ if trim_start. starts_with ( "= note: this compiler was built on 2" )
340
+ && trim_start. ends_with ( "; consider upgrading it if it is out of date" )
341
+ {
342
+ return None ;
343
+ }
344
+
339
345
if self . normalization >= StripCouldNotCompile {
340
346
if line. starts_with ( "error: Could not compile `" ) {
341
347
return None ;
Original file line number Diff line number Diff line change
1
+ test_normalize ! { "
2
+ error[E0658]: `#[used(linker)]` is currently unstable
3
+ --> tests/ui/used-linker.rs:6:5
4
+ |
5
+ 6 | #![used(linker)]
6
+ | ^^^^^^^^^^^^^^^^
7
+ |
8
+ = note: see issue #93798 <https://github.com/rust-lang/rust/issues/93798> for more information
9
+ = help: add `#![feature(used_with_arg)]` to the crate attributes to enable
10
+ = note: this compiler was built on 2024-01-13; consider upgrading it if it is out of date
11
+ " "
12
+ error[E0658]: `#[used(linker)]` is currently unstable
13
+ --> tests/ui/used-linker.rs:6:5
14
+ |
15
+ 6 | #![used(linker)]
16
+ | ^^^^^^^^^^^^^^^^
17
+ |
18
+ = note: see issue #93798 <https://github.com/rust-lang/rust/issues/93798> for more information
19
+ = help: add `#![feature(used_with_arg)]` to the crate attributes to enable
20
+ " }
You can’t perform that action at this time.
0 commit comments