mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-08 13:55:25 +00:00
cf3cd4c48a
Do not ICE when inlining a function with un-satisfiable bounds Fixes #93008 This is kinda a hack... but it's the fix I thought had the least blast-radius. We use `normalize_param_env_or_error` to verify that the predicates in the param env are self-consistent, since with RevealAll, a bad predicate like `<&'static () as Clone>` will be evaluated with an empty ParamEnv (since it references no generics), and we'll raise an error for it. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |