1 error[E0326]: implemented const `FROM` has an incompatible type for trait
2 --> $DIR/associated-const-generic-obligations.rs:14:17
4 LL | const FROM: &'static str = "foo";
5 | ^^^^^^^^^^^^ expected associated type, found `&'static str`
8 --> $DIR/associated-const-generic-obligations.rs:10:17
10 LL | const FROM: Self::Out;
12 = note: expected associated type `<T as Foo>::Out`
13 found reference `&'static str`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0326`.