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
node_count.rs
show_span.rs