]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/deriving-bounds.rs
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / derives / deriving-bounds.rs
1 #[derive(Send)]
2 //~^ ERROR cannot find derive macro `Send` in this scope
3 //~| ERROR cannot find derive macro `Send` in this scope
4 struct Test;
5
6 #[derive(Sync)]
7 //~^ ERROR cannot find derive macro `Sync` in this scope
8 //~| ERROR cannot find derive macro `Sync` in this scope
9 struct Test1;
10
11 pub fn main() {}