Skip to content

Commit 3f20a54

Browse files
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#149756
2 parents 441eb98 + 9b68aae commit 3f20a54

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)