Skip to content

Commit febacfd

Browse files
authored
Merge pull request #557 from MarcusGrass/allow-expect
Allow `expect` as attr
2 parents 47921b5 + 9daf6b0 commit febacfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cortex-m-rt/macros/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ fn check_attr_whitelist(attrs: &[Attribute], caller: WhiteListCaller) -> Result<
744744
"forbid",
745745
"cold",
746746
"naked",
747+
"expect",
747748
];
748749

749750
'o: for attr in attrs {

0 commit comments

Comments
 (0)