rust/compiler/rustc_lint/src
Dylan DPC 8ebca242bc
Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwco
rustc_ast: Do not panic by default when visiting macro calls

Panicking by default made sense when we didn't have HIR or MIR and everything worked on AST, but now all AST visitors run early and majority of them have to deal with macro calls, often by ignoring them.

The second commit renames `visit_mac` to `visit_mac_call`, the corresponding structures were renamed earlier in https://github.com/rust-lang/rust/pull/69589.
2020-11-09 19:06:55 +01:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
builtin.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
context.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
early.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
internal.rs add test 2020-09-21 20:36:05 +02:00
late.rs Fix inconsistencies in handling of inert attributes on statements 2020-10-24 11:55:48 -04:00
levels.rs Fix ICE when a future-incompat-report has its command-line level capped 2020-11-02 01:43:25 -05:00
lib.rs Rename lint to non_autolinks 2020-11-05 10:22:08 +01:00
methods.rs Fix doctest 2020-10-26 18:19:49 -04:00
non_ascii_idents.rs Auto merge of #76541 - matthiaskrgr:unstable_sort, r=davidtwco 2020-09-14 21:43:17 +00:00
nonstandard_style.rs Fix some more clippy warnings 2020-10-30 10:12:56 -04:00
passes.rs Add check_generic_arg early pass 2020-10-16 17:14:36 -03:00
redundant_semicolon.rs Treat trailing semicolon as a statement in macro call 2020-11-02 13:03:13 -05:00
traits.rs Uplift drop-bounds lint from clippy 2020-10-01 12:06:33 -07:00
types.rs u128 truncation and sign extension are not just interpreter related 2020-11-04 13:41:58 +00:00
unused.rs Fix some more clippy warnings 2020-10-30 10:12:56 -04:00