1 error[E0404]: expected trait, found enum `chan`
2 --> $DIR/issue-2330.rs:18:6
4 LL | impl chan for isize { //~ ERROR expected trait, found enum `chan`
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0404`.