X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fgeneric-associated-types%2Fbugs%2Fhrtb-implied-1.stderr;h=362aeae23614fcf972a6887d860c037f38064ff8;hb=7168aa5eb10e0c7e879b76152b659143015772ec;hp=1c9abc4e837c518aa888649f2b5b57b0265631fa;hpb=333ee6c466972185973d5097f8b5fb0f9fb13fa5;p=rust.git diff --git a/tests/ui/generic-associated-types/bugs/hrtb-implied-1.stderr b/tests/ui/generic-associated-types/bugs/hrtb-implied-1.stderr index 1c9abc4e837..362aeae2361 100644 --- a/tests/ui/generic-associated-types/bugs/hrtb-implied-1.stderr +++ b/tests/ui/generic-associated-types/bugs/hrtb-implied-1.stderr @@ -3,7 +3,7 @@ error[E0716]: temporary value dropped while borrowed | LL | let slice = &mut (); | ^^ creates a temporary value which is freed while still in use -... +LL | let windows = WindowsMut { slice }; LL | print_items::>(windows); | -------------------------------------- argument requires that borrow lasts for `'static` LL | }