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-01-28 16:56:05 +01:00
2021-12-14 18:50:31 -04:00
2022-02-02 17:37:14 +01:00
2022-02-15 02:27:37 +00:00
2022-02-17 16:00:04 +00:00
2022-02-08 03:20:05 +00:00
2022-02-07 21:51:05 -08:00
2022-02-09 20:07:38 +01:00
2022-02-18 07:35:37 +00:00
2022-02-18 16:23:29 +01:00
2022-02-15 16:19:59 +11:00
2022-02-10 18:27:18 +01:00
2022-02-17 23:01:01 +01:00
2022-02-17 23:00:59 +01:00
2022-02-16 00:38:59 +01:00
2022-02-15 16:20:01 +11:00
2022-02-13 11:49:52 +01:00
2022-02-17 16:00:04 +00:00
2022-02-01 10:15:59 +01:00
2022-02-01 10:15:59 +01:00
2022-02-17 23:00:55 +01:00
2022-01-09 14:09:25 +11:00
2022-02-14 12:26:43 +00:00
2022-02-09 14:12:22 +09:00
2022-02-01 10:15:59 +01:00
2022-02-16 22:43:39 +01:00
2022-02-18 16:23:28 +01:00
2022-02-18 16:23:28 +01:00
2021-12-03 13:20:14 +00:00
2022-02-15 16:19:59 +11:00
2022-02-01 09:55:19 +01:00
2022-02-14 16:09:53 -05:00
2022-01-03 22:31:56 -08:00
2022-01-22 10:38:31 +11:00
2022-02-18 16:11:23 +08:00
2022-02-18 16:23:28 +01:00
2022-02-15 21:18:33 +01:00
2022-02-15 16:03:24 +11:00
2022-02-18 16:23:30 +01:00
2022-02-17 23:00:59 +01:00
2022-02-17 23:00:59 +01:00
2022-02-16 07:34:06 +00:00
2022-02-12 11:23:53 +00:00
2021-12-06 12:03:47 -05:00
2022-02-15 16:19:59 +11:00
2022-02-15 16:19:59 +11:00
2022-02-11 07:18:06 +00:00
2022-02-18 07:35:37 +00:00
2022-02-12 11:23:53 +00:00
2022-02-05 15:07:10 -05:00
2022-02-14 08:31:24 -08:00
2022-02-16 10:28:12 -05:00
2022-02-15 16:19:59 +11:00
2022-02-17 13:08:46 +00:00
2022-02-18 16:23:30 +01:00
2022-02-15 16:19:59 +11:00
2022-02-15 16:08:52 +11:00
2022-02-15 19:07:06 +01:00
2022-02-18 16:23:28 +01:00