Skip to content

Instantly share code, notes, and snippets.

---- [ui] ui/associated-const/associated-const-generic-obligations.rs stdout ----
diff of stderr:
- error[E0277]: the trait bound `T: Foo` is not satisfied
- --> $DIR/associated-const-generic-obligations.rs:14:5
+ error[E0326]: implemented const `FROM` has an incompatible type for trait
+ --> $DIR/associated-const-generic-obligations.rs:14:17
3 |
+ LL | const FROM: Self::Out;
+ | --------- type in trait