]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-6117.rs
Rollup merge of #107114 - Erk-:add-absolute-note-to-path-join, r=m-ou-se
[rust.git] / tests / ui / issues / issue-6117.rs
1 // run-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 enum Either<T, U> { Left(T), Right(U) }
6
7 pub fn main() {
8     match Either::Left(Box::new(17)) {
9         Either::Right(()) => {}
10         _ => {}
11     }
12 }