fork/rust

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

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

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