Files
rust/compiler
bors 079aa837d2 Auto merge of #86574 - m-ou-se:or-pattern-lint-fix, r=petrochenkov
Don't lint :pat when re-parsing a macro from another crate.

`compile_macro` is used both when compiling the original definition in the crate that defines it, and to compile the macro when loading it when compiling a crate that uses it. We should only emit lints in the first case.

This adds a `is_definition: bool` to pass this information in, so we don't warn about things that only concern the definition site.

Fixes #86567
2021-06-25 01:23:16 +00:00
..
2021-04-04 14:10:26 -07:00
2021-03-27 22:16:33 -04:00
2021-05-24 11:07:48 -04:00
2021-03-27 22:16:33 -04:00
2021-05-31 13:55:43 +02:00
2021-05-24 11:07:48 -04:00
2021-05-31 13:55:43 +02:00