File tree Expand file tree Collapse file tree
query-tests/diagnostics/CONSISTENCY Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,5 @@ query predicate extractionError(ExtractionError ee) {
1212}
1313
1414query predicate extractionWarning ( ExtractionWarning ew ) {
15- ( not exists ( ew .getLocation ( ) ) or ew .getLocation ( ) .fromSource ( ) ) and
16- // macro expansion failures are expected for macros like compile_error! and panic!
17- not ew .getMessage ( ) .matches ( "macro expansion failed for%" )
15+ ( not exists ( ew .getLocation ( ) ) or ew .getLocation ( ) .fromSource ( ) )
1816}
Original file line number Diff line number Diff line change 1+ extractionWarning
2+ | macro_expansion.rs:56:9:56:31 | macro expansion failed for 'concat' |
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ extractionWarning
55| does_not_compile.rs:2:21:2:20 | expected SEMICOLON |
66| does_not_compile.rs:2:26:2:25 | expected SEMICOLON |
77| error.rs:2:5:2:17 | An error! |
8+ | my_macro.rs:17:9:17:27 | macro expansion failed for 'myUndefinedMacro' |
You can’t perform that action at this time.
0 commit comments