X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Flub-match.stderr;h=04d50f5ebf471af17cad8cc3671aa0ccf29e6acc;hb=4d6c2cce0adbb5deeeffe7eac6a27aedcfe03437;hp=168a389446921dc1bd9b09b9f141fea2cc2aed0f;hpb=7f32dd546f23f122a6c5e87db50e404261b75722;p=rust.git diff --git a/src/test/ui/lub-match.stderr b/src/test/ui/lub-match.stderr index 168a3894469..04d50f5ebf4 100644 --- a/src/test/ui/lub-match.stderr +++ b/src/test/ui/lub-match.stderr @@ -5,7 +5,7 @@ LL | s | ^ | = note: ...the reference is valid for the static lifetime... -note: ...but the borrowed content is only valid for the lifetime `'a` as defined on the function body at 25:17 +note: ...but the borrowed content is only valid for the lifetime `'a` as defined here --> $DIR/lub-match.rs:25:17 | LL | pub fn opt_str2<'a>(maybestr: &'a Option) -> &'static str { @@ -18,7 +18,7 @@ LL | s | ^ | = note: ...the reference is valid for the static lifetime... -note: ...but the borrowed content is only valid for the lifetime `'a` as defined on the function body at 35:17 +note: ...but the borrowed content is only valid for the lifetime `'a` as defined here --> $DIR/lub-match.rs:35:17 | LL | pub fn opt_str3<'a>(maybestr: &'a Option) -> &'static str {