mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-06 08:36:52 -04:00
a762dbfe76
Every lifting root calls `unwrap`/`expect` on the result, except for `ImmTy::fmt` but there's no good reason for that exception. Making lifting infallible is sensible because it should only fail if the wrong interner is somehow used, which indicates a major bug in rustc rather than an error condition.