]> git.lizzy.rs Git - rust.git/blob - tests/ui/trait-bounds/impl-bound-with-references-error.stderr
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / trait-bounds / impl-bound-with-references-error.stderr
1 error[E0412]: cannot find type `Cow` in this scope
2   --> $DIR/impl-bound-with-references-error.rs:12:13
3    |
4 LL |     T: Into<Cow<'static, str>>,
5    |             ^^^ not found in this scope
6    |
7 help: consider importing this enum
8    |
9 LL | use std::borrow::Cow;
10    |
11
12 error[E0119]: conflicting implementations of trait `From<LabelText>` for type `LabelText`
13   --> $DIR/impl-bound-with-references-error.rs:9:1
14    |
15 LL | impl<T> From<T> for LabelText
16    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17    |
18    = note: conflicting implementation in crate `core`:
19            - impl<T> From<T> for T;
20
21 error: aborting due to 2 previous errors
22
23 Some errors have detailed explanations: E0119, E0412.
24 For more information about an error, try `rustc --explain E0119`.