rust/compiler/rustc_lint/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
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
builtin.rs Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errors 2022-10-29 14:18:03 +02:00
context.rs privacy: Rename "accessibility levels" to "effective visibilities" 2022-10-26 16:34:53 +04:00
early.rs Remove -Ztime option. 2022-10-06 15:49:44 +11:00
enum_intrinsics_non_enums.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
expect.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
for_loops_over_fallibles.rs adopt to building infcx 2022-10-09 13:07:21 +00:00
hidden_unicode_codepoints.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
internal.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
late.rs privacy: Rename "accessibility levels" to "effective visibilities" 2022-10-26 16:34:53 +04:00
let_underscore.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
levels.rs Change unknown_lint applicability to MaybeIncorrect 2022-10-22 07:17:36 -04:00
lib.rs privacy: Rename "accessibility levels" to "effective visibilities" 2022-10-26 16:34:53 +04:00
methods.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
non_ascii_idents.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
non_fmt_panic.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
nonstandard_style.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
noop_method_call.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
opaque_hidden_inferred_bound.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
pass_by_value.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
passes.rs Remove unused argument from check_mac_def. 2022-09-12 14:05:54 +10:00
redundant_semicolon.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
types.rs Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errors 2022-10-29 14:18:03 +02:00
unused.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00