``` trait Peach {} impl Peach for bool { type Banana = (); } ``` results in ``` error[E0437]: type `Banana` is not a member of trait `Peach` --> <anon>:5:5 | 5 | type Banana = (); | ^^^^^^^^^^^^^^^^^ not a member of trait `Foo` ``` cc @jonathandturner
Activity
durka commentedon Sep 12, 2016
d'oh
rust/src/librustc_resolve/lib.rs
Lines 253 to 272 in f81f496
fix "X is not a member of trait Y" span labels
Rollup merge of rust-lang#36429 - durka:patch-30, r=nagisa