rust/compiler/rustc_infer
Nicholas Nethercote 4652295a3e Simplify TypeFreshener methods.
`freshen_{ty,const}` take a `Result` and just do a fold if the input is
`Ok`. It's simpler to do those folds at the call site, and only call
`freshen_{ty,const}` in the `Err` case. That way we can also avoid
useless fold operations on the results of `new_{int,uint,float}`.

Also, make some `bug!` calls more concise.
2025-12-22 17:22:28 +11:00
..
src Simplify TypeFreshener methods. 2025-12-22 17:22:28 +11:00
Cargo.toml Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
messages.ftl Move all error reporting into rustc_trait_selection 2024-07-21 22:34:35 -04:00