Skip to content

Commit ce75bfc

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 f311c08 + 78f04d5 commit ce75bfc

0 file changed

File tree

    0 commit comments

    Comments
     (0)