diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2018-09-15 18:30:29 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2018-09-19 20:50:09 +0100 |
| commit | bd0895d7d011cc4c6bef4f95e6df64d2fee6ff73 (patch) | |
| tree | 146b8e71049cc840d5a99f42d9f96da9882f53da /src/test/ui/nll/user-annotations/patterns.stderr | |
| parent | 994dc4bd1ef01b45408750679d9ec46bc1c2ff33 (diff) | |
| download | rust-bd0895d7d011cc4c6bef4f95e6df64d2fee6ff73.tar.gz rust-bd0895d7d011cc4c6bef4f95e6df64d2fee6ff73.zip | |
Update ui tests
Diffstat (limited to 'src/test/ui/nll/user-annotations/patterns.stderr')
| -rw-r--r-- | src/test/ui/nll/user-annotations/patterns.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/nll/user-annotations/patterns.stderr b/src/test/ui/nll/user-annotations/patterns.stderr index 563de1a9e02..f359608462d 100644 --- a/src/test/ui/nll/user-annotations/patterns.stderr +++ b/src/test/ui/nll/user-annotations/patterns.stderr @@ -131,12 +131,12 @@ LL | y //~ ERROR | ^ returning this value requires that `'a` must outlive `'static` error: unsatisfied lifetime constraints - --> $DIR/patterns.rs:117:40 + --> $DIR/patterns.rs:117:9 | LL | fn a_to_static_then_static<'a>(x: &'a u32) -> &'static u32 { | -- lifetime `'a` defined here LL | let (y, _z): (&'static u32, u32) = (x, 44); //~ ERROR - | ^^^^^^^ requires that `'a` must outlive `'static` + | ^^^^^^^ type annotation requires that `'a` must outlive `'static` error: aborting due to 14 previous errors |
