]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-50714.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-50714.rs
1 // Regression test for issue 50714, make sure that this isn't a linker error.
2
3 fn main() where fn(&()): Eq {} //~ ERROR [E0646]