rust/compiler/rustc_borrowck/src
Guillaume Gomez 2414a4c31a
Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errors
Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions

Functions in answer:

- `Ty::is_freeze`
- `Ty::is_sized`
- `Ty::is_unpin`
- `Ty::is_copy_modulo_regions`

This allows to remove a lot of useless `.at(DUMMY_SP)`, making the code a bit nicer :3

r? `@compiler-errors`
2022-10-29 14:18:03 +02:00
..
constraints Revert "Make ClosureOutlivesRequirement not rely on an unresolved type" 2022-10-27 16:15:11 +00:00
diagnostics Revert "Make ClosureOutlivesRequirement not rely on an unresolved type" 2022-10-27 16:15:11 +00:00
region_infer Rollup merge of #103641 - compiler-errors:issue-103624, r=cjgillot 2022-10-28 07:06:43 +02:00
type_check Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errors 2022-10-29 14:18:03 +02:00
borrow_set.rs cleanup mir visitor for rustc::pass_by_value 2022-07-01 16:21:21 +02:00
borrowck_errors.rs On partial uninit error point at where we need init 2022-07-07 12:25:55 -07:00
constraint_generation.rs Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00
consumers.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
dataflow.rs Generalize the Assume intrinsic statement to a general Intrinsic statement 2022-09-06 14:18:32 +00:00
def_use.rs Add new MutatatingUseContexts for deinit and SetDiscriminant 2022-04-11 09:26:26 -04:00
facts.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
invalidation.rs Generalize the Assume intrinsic statement to a general Intrinsic statement 2022-09-06 14:18:32 +00:00
lib.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
location.rs Avoid Iterator::last 2022-09-11 17:23:00 +02:00
member_constraints.rs Use real opaque type instead of just saying impl Trait 2022-07-26 06:19:58 +00:00
nll.rs Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00
path_utils.rs Remove in_band_lifetimes from borrowck 2021-12-15 08:39:21 +01:00
place_ext.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
places_conflict.rs Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"" 2022-09-16 11:36:39 +00:00
prefixes.rs Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"" 2022-09-16 11:36:39 +00:00
renumber.rs mir constants: type traversing bye bye 2022-10-17 10:54:01 +02:00
session_diagnostics.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
universal_regions.rs more dupe word typos 2022-10-14 12:57:56 +08:00
used_muts.rs cleanup mir visitor for rustc::pass_by_value 2022-07-01 16:21:21 +02:00