summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/issue-36617.stderr
blob: 9cc0a29b0651db9c487e9005183318d70775b98e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
error: cannot determine resolution for the attribute macro `derive`
  --> $DIR/issue-36617.rs:1:4
   |
LL | #![derive(Copy)]
   |    ^^^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `test`
  --> $DIR/issue-36617.rs:4:4
   |
LL | #![test]
   |    ^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `test_case`
  --> $DIR/issue-36617.rs:7:4
   |
LL | #![test_case]
   |    ^^^^^^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `bench`
  --> $DIR/issue-36617.rs:10:4
   |
LL | #![bench]
   |    ^^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `global_allocator`
  --> $DIR/issue-36617.rs:13:4
   |
LL | #![global_allocator]
   |    ^^^^^^^^^^^^^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: `derive` attribute cannot be used at crate level
  --> $DIR/issue-36617.rs:1:1
   |
LL | #![derive(Copy)]
   | ^^^^^^^^^^^^^^^^
   |
help: perhaps you meant to use an outer attribute
   |
LL | #[derive(Copy)]
   | ~~~~~~~~~~~~~~~

error: `test` attribute cannot be used at crate level
  --> $DIR/issue-36617.rs:4:1
   |
LL | #![test]
   | ^^^^^^^^
   |
help: perhaps you meant to use an outer attribute
   |
LL | #[test]
   | ~~~~~~~

error: `test_case` attribute cannot be used at crate level
  --> $DIR/issue-36617.rs:7:1
   |
LL | #![test_case]
   | ^^^^^^^^^^^^^
   |
help: perhaps you meant to use an outer attribute
   |
LL | #[test_case]
   | ~~~~~~~~~~~~

error: `bench` attribute cannot be used at crate level
  --> $DIR/issue-36617.rs:10:1
   |
LL | #![bench]
   | ^^^^^^^^^
   |
help: perhaps you meant to use an outer attribute
   |
LL | #[bench]
   | ~~~~~~~~

error: `global_allocator` attribute cannot be used at crate level
  --> $DIR/issue-36617.rs:13:1
   |
LL | #![global_allocator]
   | ^^^^^^^^^^^^^^^^^^^^
   |
help: perhaps you meant to use an outer attribute
   |
LL | #[global_allocator]
   | ~~~~~~~~~~~~~~~~~~~

error: aborting due to 10 previous errors