Files
rust/compiler/rustc_mir_transform/src
Matthias Krüger cf3cd4c48a Rollup merge of #93024 - compiler-errors:inline-mir-bad-bounds, r=estebank
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.
2022-02-18 16:23:30 +01:00
..
2022-02-15 16:03:24 +11:00
2022-01-15 01:16:55 +00:00
2022-02-15 16:19:59 +11:00
2022-02-15 16:03:24 +11:00
2022-02-11 12:45:51 -08:00
2021-12-02 17:31:38 -08:00
2022-02-15 16:19:59 +11:00
2022-02-15 16:03:24 +11:00
2022-02-15 16:03:24 +11:00