fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
491 B11 linesraw
1error: implementation of `Deserialize` is not general enough
2  --> $DIR/hrtb-cache-issue-54302.rs:19:5
3   |
4LL |     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
10error: aborting due to previous error
11