mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +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`.