File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -426,10 +426,15 @@ impl TestProps {
426
426
self . known_bug = true ;
427
427
} else {
428
428
panic ! (
429
- "Invalid known-bug value: {known_bug}\n It requires comma-separated issue references (`#000` or `chalk#000`) or `unknown`."
429
+ "Invalid known-bug value: {known_bug}\n It requires comma-separated issue references (`#000` or `chalk#000`) or `known-bug: unknown`."
430
430
) ;
431
431
}
432
+ } else if config. parse_name_directive ( ln, KNOWN_BUG ) {
433
+ panic ! (
434
+ "Invalid known-bug attribute, requires comma-separated issue references (`#000` or `chalk#000`) or `known-bug: unknown`."
435
+ ) ;
432
436
}
437
+
433
438
config. set_name_value_directive ( ln, MIR_UNIT_TEST , & mut self . mir_unit_test , |s| {
434
439
s. trim ( ) . to_string ( )
435
440
} ) ;
You can’t perform that action at this time.
0 commit comments