Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 218 Bytes
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
enum Either<T, U> { Left(T), Right(U) }
pub fn main() {
match Either::Left(Box::new(17)) {
Either::Right(()) => {}
_ => {}
}
}
You can’t perform that action at this time.