]> git.lizzy.rs Git - rust.git/blob - src/test/ui/chalkify/impl_wf.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / chalkify / impl_wf.stderr
1 error[E0277]: the size for values of type `str` cannot be known at compilation time
2   --> $DIR/impl_wf.rs:11:6
3    |
4 LL | trait Foo: Sized { }
5    |            ----- required by this bound in `Foo`
6 ...
7 LL | impl Foo for str { }
8    |      ^^^ doesn't have a size known at compile-time
9    |
10    = help: the trait `Sized` is not implemented for `str`
11
12 error[E0277]: the trait bound `f32: Foo` is not satisfied
13   --> $DIR/impl_wf.rs:22:6
14    |
15 LL | trait Baz<U: ?Sized> where U: Foo { }
16    |                               --- required by this bound in `Baz`
17 ...
18 LL | impl Baz<f32> for f32 { }
19    |      ^^^^^^^^ the trait `Foo` is not implemented for `f32`
20
21 error: aborting due to 2 previous errors
22
23 For more information about this error, try `rustc --explain E0277`.