]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3037.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-3037.rs
1 // run-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4 #![allow(non_camel_case_types)]
5
6 enum what { }
7
8 fn what_to_string(x: what) -> String
9 {
10     match x {
11     }
12 }
13
14 pub fn main()
15 {
16 }