rust/compiler/rustc_ast_passes/src
Matthias Krüger 4ed2291624
Rollup merge of #116393 - compiler-errors:auto-bad, r=WaffleLapkin
Emit feature gate *warning* for `auto` traits pre-expansion

Auto traits were introduced before we were more careful about not stabilizing new syntax pre-expansion.

This is a more conservative step in the general direction we want to go in https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Removal.20of.20.60auto.20trait.60.20syntax.

Fixes #116121
2023-10-04 05:02:07 +02:00
..
ast_validation.rs Validate ~const trait bounds on associated fns. 2023-09-30 19:00:45 -04:00
errors.rs Move let expression checking to parsing 2023-09-11 15:51:18 +00:00
feature_gate.rs Gate against auto traits pre-expansion 2023-10-03 19:12:00 +00:00
lib.rs Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
node_count.rs Remove unused span argument from walk_fn. 2022-09-12 13:24:27 +10:00
show_span.rs Complete migrating ast_passes to derive diagnostics 2023-02-25 15:19:13 +00:00