diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2018-06-27 16:44:39 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2018-06-28 11:12:43 -0700 |
| commit | 3005162f98c1b9a4d57f6a7b3d5c3fe55de01c21 (patch) | |
| tree | 4e2e7dec716fb4b89a49aeeb2fefcddc8127d875 /src/test/ui/error-codes | |
| parent | 5436a5c55ac6b08bd0bb729b7da55915e6e78fe6 (diff) | |
| download | rust-3005162f98c1b9a4d57f6a7b3d5c3fe55de01c21.tar.gz rust-3005162f98c1b9a4d57f6a7b3d5c3fe55de01c21.zip | |
Extend support to `get_generics` for all `NodeItem`s
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0478.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/error-codes/E0478.stderr b/src/test/ui/error-codes/E0478.stderr index 44d8151303f..0e778908058 100644 --- a/src/test/ui/error-codes/E0478.stderr +++ b/src/test/ui/error-codes/E0478.stderr @@ -4,16 +4,16 @@ error[E0478]: lifetime bound not satisfied LL | child: Box<Wedding<'kiss> + 'SnowWhite>, //~ ERROR E0478 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | -note: lifetime parameter instantiated with the lifetime 'SnowWhite as defined on the struct at 13:1 - --> $DIR/E0478.rs:13:1 +note: lifetime parameter instantiated with the lifetime 'SnowWhite as defined on the struct at 13:22 + --> $DIR/E0478.rs:13:22 | LL | struct Prince<'kiss, 'SnowWhite> { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -note: but lifetime parameter must outlive the lifetime 'kiss as defined on the struct at 13:1 - --> $DIR/E0478.rs:13:1 + | ^^^^^^^^^^ +note: but lifetime parameter must outlive the lifetime 'kiss as defined on the struct at 13:15 + --> $DIR/E0478.rs:13:15 | LL | struct Prince<'kiss, 'SnowWhite> { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ^^^^^ error: aborting due to previous error |
