diff options
Diffstat (limited to 'src/test/ui/error-codes/E0308-2.rs')
-rw-r--r-- | src/test/ui/error-codes/E0308-2.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/error-codes/E0308-2.rs b/src/test/ui/error-codes/E0308-2.rs deleted file mode 100644 index 157f992da..000000000 --- a/src/test/ui/error-codes/E0308-2.rs +++ /dev/null @@ -1,12 +0,0 @@ -trait DynEq {} - -impl<'a> PartialEq for &'a (dyn DynEq + 'static) { - fn eq(&self, _other: &Self) -> bool { - true - } -} - -impl Eq for &dyn DynEq {} //~ ERROR E0308 - -fn main() { -} |