fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
171 B9 linesraw
1// run-rustfix
2
3#[derive(Clone)]
4struct Wrapper<T>(T);
5
6impl<S: Copy> Copy for Wrapper<S> {}
7//~^ ERROR the trait `Copy` cannot be implemented for this type
8
9fn main() {}