mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 04:40:11 +00:00

If we abort immediately after complaining about the obsolete `impl Trait for ..` syntax, then we avoid reaching HIR lowering. This means we can use `TyKind::Dummy` instead of `TyKind::Err`.