]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-14853.stderr
Auto merge of #90423 - Aaron1011:deduplicate-projection, r=jackh726
[rust.git] / src / test / ui / issues / issue-14853.stderr
1 error[E0276]: impl has stricter requirements than trait
2   --> $DIR/issue-14853.rs:12:15
3    |
4 LL |     fn yay<T: Debug>(_: Option<Self>, thing: &[T]);
5    |     ----------------------------------------------- definition of `yay` from trait
6 ...
7 LL |     fn yay<T: Str>(_:Option<X>, thing: &[T]) {
8    |               ^^^ impl has extra requirement `T: Str`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0276`.