]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/exclusive-drop-and-copy.rs
3 #[derive(Copy, Clone)] //~ ERROR the trait `Copy` may not be implemented
10 #[derive(Copy, Clone)] //~ ERROR the trait `Copy` may not be implemented
11 struct Bar
<T
>(::std
::marker
::PhantomData
<T
>);
13 impl<T
> Drop
for Bar
<T
> {