]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hrtb/hrtb-cache-issue-54302.stderr
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
[rust.git] / src / test / ui / hrtb / hrtb-cache-issue-54302.stderr
1 error: implementation of `Deserialize` is not general enough
2   --> $DIR/hrtb-cache-issue-54302.rs:19:5
3    |
4 LL |     assert_deserialize_owned::<&'static str>();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Deserialize` is not general enough
6    |
7    = note: `&'static str` must implement `Deserialize<'0>`, for any lifetime `'0`...
8    = note: ...but `&str` actually implements `Deserialize<'1>`, for some specific lifetime `'1`
9
10 error: aborting due to previous error
11