]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15689-1.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / ui / issues / issue-15689-1.rs
1 // run-pass
2
3 #[derive(PartialEq, Debug)]
4 enum Test<'a> {
5     Slice(&'a isize)
6 }
7
8 fn main() {
9     assert_eq!(Test::Slice(&1), Test::Slice(&1))
10 }