Commit c8e397f
authored
Rollup merge of #149781 - mu001999-contrib:fix/149756, r=jdonszelmann
Don't suggest wrapping attr in unsafe if it may come from proc macro
Don't emit the suggestion if the span may come from proc macro. Check this with the snippet because we cannot check if the span is from macro-rules or proc-macro (maybe this can happen in the future?).
Fixes rust-lang/rust#149756File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments