diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-05-22 02:05:15 -0400 | 
|---|---|---|
| committer | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-05-22 15:21:27 -0400 | 
| commit | 383fbeec637fcb7c407fffd5e1f3d37bf0dba9df (patch) | |
| tree | 52e92efdf3da385618f23f940cf93fa9fd6d5d7f /src/test/ui/lifetimes/lifetime-errors/ex2c-push-inference-variable.stderr | |
| parent | fe91cfd684340f45dabd15568b7dae2f8118ee44 (diff) | |
| download | rust-383fbeec637fcb7c407fffd5e1f3d37bf0dba9df.tar.gz rust-383fbeec637fcb7c407fffd5e1f3d37bf0dba9df.zip  | |
Use revisions for NLL in lifetimes
Diffstat (limited to 'src/test/ui/lifetimes/lifetime-errors/ex2c-push-inference-variable.stderr')
| -rw-r--r-- | src/test/ui/lifetimes/lifetime-errors/ex2c-push-inference-variable.stderr | 12 | 
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/lifetimes/lifetime-errors/ex2c-push-inference-variable.stderr b/src/test/ui/lifetimes/lifetime-errors/ex2c-push-inference-variable.stderr deleted file mode 100644 index 63b1c6db28f..00000000000 --- a/src/test/ui/lifetimes/lifetime-errors/ex2c-push-inference-variable.stderr +++ /dev/null @@ -1,12 +0,0 @@ -error[E0623]: lifetime mismatch - --> $DIR/ex2c-push-inference-variable.rs:7:12 - | -LL | fn foo<'a, 'b, 'c>(x: &'a mut Vec<Ref<'b, i32>>, y: Ref<'c, i32>) { - | ------------ ------------ these two types are declared with different lifetimes... -LL | let z = Ref { data: y.data }; -LL | x.push(z); - | ^ ...but data from `y` flows into `x` here - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0623`.  | 
