diff options
Diffstat (limited to 'tests/ui/lifetime.stderr')
-rw-r--r-- | tests/ui/lifetime.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/lifetime.stderr b/tests/ui/lifetime.stderr index 5f86fa0..8b58136 100644 --- a/tests/ui/lifetime.stderr +++ b/tests/ui/lifetime.stderr @@ -1,11 +1,11 @@ error: non-static lifetimes are not allowed in the source of an error, because std::error::Error requires the source is dyn Error + 'static - --> $DIR/lifetime.rs:6:26 + --> tests/ui/lifetime.rs:6:26 | 6 | struct Error<'a>(#[from] Inner<'a>); | ^^^^^^^^^ error: non-static lifetimes are not allowed in the source of an error, because std::error::Error requires the source is dyn Error + 'static - --> $DIR/lifetime.rs:15:17 + --> tests/ui/lifetime.rs:15:17 | 15 | Foo(#[from] Generic<&'a str>), | ^^^^^^^^^^^^^^^^ |