]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-61475.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-61475.rs
1 // run-pass
2 #![allow(dead_code)]
3
4 enum E {
5     A, B
6 }
7
8 fn main() {
9     match &&E::A {
10         &&E::A => {
11         }
12         &&E::B => {
13         }
14     };
15 }