summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/deriving-bounds.rs
blob: 95d440420b065739f1b989a74598bf253a82bf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
#[derive(Send)]
//~^ ERROR cannot find derive macro `Send` in this scope
//~| ERROR cannot find derive macro `Send` in this scope
struct Test;

#[derive(Sync)]
//~^ ERROR cannot find derive macro `Sync` in this scope
//~| ERROR cannot find derive macro `Sync` in this scope
struct Test1;

pub fn main() {}