Skip to content

Commit c3b77ab

Browse files
committed
Whitelist #[should_panic]
1 parent 610d169 commit c3b77ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/libsyntax/feature_gate.rs

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ pub static KNOWN_ATTRIBUTES: &'static [(&'static str, AttributeType)] = &[
187187
("no_link", Normal),
188188
("derive", Normal),
189189
("should_fail", Normal),
190+
("should_panic", Normal),
190191
("ignore", Normal),
191192
("no_implicit_prelude", Normal),
192193
("reexport_test_harness_main", Normal),

0 commit comments

Comments
 (0)