about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-21 14:23:46 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-21 17:02:30 +1100
commit09ca866738711331609811da2d8399531bda66c5 (patch)
tree5daced701d7f71e06bac2bc1bb37a70bb1268f76 /compiler/rustc_codegen_llvm/src/errors.rs
parentbb594538fc6e84213a6b8d5e165442570aa48923 (diff)
downloadrust-09ca866738711331609811da2d8399531bda66c5.tar.gz
rust-09ca866738711331609811da2d8399531bda66c5.zip
Remove an `unchecked_error_guaranteed` call.
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`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions