about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2021-12-06 00:48:37 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2021-12-07 21:04:40 -0800
commita1249240610fd78d255b170482ee5c106d1208b4 (patch)
treec4fc6fad389ec8b79dae7bd7d893a0dae5c1c76e /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parent0b6f079e4987ded15c13a15b734e7cfb8176839f (diff)
downloadrust-a1249240610fd78d255b170482ee5c106d1208b4.tar.gz
rust-a1249240610fd78d255b170482ee5c106d1208b4.zip
Remove `in_band_lifetimes` from `rustc_mir_transform`
This one is a heavy `'tcx` user.

Two interesting ones:

This one had the `'tcx` declared on the function, despite the trait taking a `'tcx`:
```diff
-impl Visitor<'_> for UsedLocals {
+impl<'tcx> Visitor<'tcx> for UsedLocals {
     fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Location) {
```

This one use in-band for one, and underscore for the other:
```diff
-pub fn remove_dead_blocks(tcx: TyCtxt<'tcx>, body: &mut Body<'_>) {
+pub fn remove_dead_blocks<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
```
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions