]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-54302.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issue-54302.stderr
1 error[E0279]: the requirement `for<'de> 'de : ` is not satisfied (`expected bound lifetime parameter 'de, found concrete lifetime`)
2   --> $DIR/issue-54302.rs:23:5
3    |
4 LL |     assert_deserialize_owned::<&'static str>();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: required because of the requirements on the impl of `for<'de> Deserialize<'de>` for `&'static str`
8    = note: required because of the requirements on the impl of `DeserializeOwned` for `&'static str`
9 note: required by `main::assert_deserialize_owned`
10   --> $DIR/issue-54302.rs:22:5
11    |
12 LL |     fn assert_deserialize_owned<T: DeserializeOwned>() {}
13    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0279`.