blob: c4fb620fea4f36fa208c998bb1f45063e032008e [file] [log] [blame]
VulnBandite3029ab2024-10-02 13:11:161// Duplicate implementations of Copy/Clone should not trigger
2// borrow check warnings
3// See #131083
4
5#[derive(Copy, Clone)]
6#[derive(Copy, Clone)]
7//~^ ERROR conflicting implementations of trait `Clone` for type `E`
8//~| ERROR conflicting implementations of trait `Copy` for type `E`
9enum E {}
10
11fn main() {}