diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-10-29 14:18:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-29 14:18:03 +0200 |
| commit | dff041f2b5584fd46d0ea2cafe87f22522b2d905 (patch) | |
| tree | 7301338948aa4b2083ae2797087b64a96dccbc68 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | efca32e23ab1cc27cd6b1e5ec42faf848fea5fc3 (diff) | |
| parent | 471d855a8e52492c6ea6c91e9eac77c692b92a4e (diff) | |
| download | rust-dff041f2b5584fd46d0ea2cafe87f22522b2d905.tar.gz rust-dff041f2b5584fd46d0ea2cafe87f22522b2d905.zip | |
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`
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
