rust/compiler/rustc_mir_transform
Guillaume Gomez 4c68112df1
Rollup merge of #133751 - lcnr:no-trait-solving-on-type, r=compiler-errors
remove `Ty::is_copy_modulo_regions`

Using these functions is likely incorrect if an `InferCtxt` is available, I moved this function to `TyCtxt` (and added it to `LateContext`) and added a note to the documentation that one should prefer `Infer::type_is_copy_modulo_regions` instead.

I didn't yet move `is_sized` and `is_freeze`, though I think we should move these as well.

r? `@compiler-errors` cc #132279
2024-12-02 17:36:11 +01:00
..
src Rollup merge of #133751 - lcnr:no-trait-solving-on-type, r=compiler-errors 2024-12-02 17:36:11 +01:00
Cargo.toml compiler: Add is_uninhabited and use LayoutS accessors 2024-10-28 09:58:30 -07:00
messages.ftl reduce false positives of tail-expr-drop-order from consumed values 2024-11-20 20:53:11 +08:00