Skip to content

Commit 80740df

Browse files
committed
move eii tests
1 parent 95a27ad commit 80740df

14 files changed

+21
-18
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,7 @@ impl Bar for Foo {
6060
fn foo_impl() {}
6161
}
6262

63+
#[eii]
64+
impl Bar {}
65+
6366
fn main() {}
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,107 @@
11
error: `#[foo]` is only valid on functions
2-
--> $DIR/wrong_target.rs:7:1
2+
--> $DIR/attribute_targets.rs:7:1
33
|
44
LL | #[foo]
55
| ^^^^^^
66

77
error: `#[eii]` is only valid on functions
8-
--> $DIR/wrong_target.rs:9:1
8+
--> $DIR/attribute_targets.rs:9:1
99
|
1010
LL | #[eii]
1111
| ^^^^^^
1212

1313
error: `#[foo]` is only valid on functions
14-
--> $DIR/wrong_target.rs:13:1
14+
--> $DIR/attribute_targets.rs:13:1
1515
|
1616
LL | #[foo]
1717
| ^^^^^^
1818

1919
error: `#[eii]` is only valid on functions
20-
--> $DIR/wrong_target.rs:15:1
20+
--> $DIR/attribute_targets.rs:15:1
2121
|
2222
LL | #[eii]
2323
| ^^^^^^
2424

2525
error: `#[foo]` is only valid on functions
26-
--> $DIR/wrong_target.rs:21:1
26+
--> $DIR/attribute_targets.rs:21:1
2727
|
2828
LL | #[foo]
2929
| ^^^^^^
3030

3131
error: `#[eii]` is only valid on functions
32-
--> $DIR/wrong_target.rs:23:1
32+
--> $DIR/attribute_targets.rs:23:1
3333
|
3434
LL | #[eii]
3535
| ^^^^^^
3636

3737
error: `#[foo]` is only valid on functions
38-
--> $DIR/wrong_target.rs:27:1
38+
--> $DIR/attribute_targets.rs:27:1
3939
|
4040
LL | #[foo]
4141
| ^^^^^^
4242

4343
error: `#[eii]` is only valid on functions
44-
--> $DIR/wrong_target.rs:29:1
44+
--> $DIR/attribute_targets.rs:29:1
4545
|
4646
LL | #[eii]
4747
| ^^^^^^
4848

4949
error: `#[foo]` is only valid on functions
50-
--> $DIR/wrong_target.rs:32:5
50+
--> $DIR/attribute_targets.rs:32:5
5151
|
5252
LL | #[foo]
5353
| ^^^^^^
5454

5555
error: `#[eii]` is only valid on functions
56-
--> $DIR/wrong_target.rs:34:5
56+
--> $DIR/attribute_targets.rs:34:5
5757
|
5858
LL | #[eii]
5959
| ^^^^^^
6060

6161
error: `#[foo]` is only valid on functions
62-
--> $DIR/wrong_target.rs:39:1
62+
--> $DIR/attribute_targets.rs:39:1
6363
|
6464
LL | #[foo]
6565
| ^^^^^^
6666

6767
error: `#[eii]` is only valid on functions
68-
--> $DIR/wrong_target.rs:41:1
68+
--> $DIR/attribute_targets.rs:41:1
6969
|
7070
LL | #[eii]
7171
| ^^^^^^
7272

7373
error: `#[foo]` is only valid on functions
74-
--> $DIR/wrong_target.rs:44:5
74+
--> $DIR/attribute_targets.rs:44:5
7575
|
7676
LL | #[foo]
7777
| ^^^^^^
7878

7979
error: `#[eii]` is only valid on functions
80-
--> $DIR/wrong_target.rs:46:5
80+
--> $DIR/attribute_targets.rs:46:5
8181
|
8282
LL | #[eii]
8383
| ^^^^^^
8484

8585
error: `#[foo]` is only valid on functions
86-
--> $DIR/wrong_target.rs:51:1
86+
--> $DIR/attribute_targets.rs:51:1
8787
|
8888
LL | #[foo]
8989
| ^^^^^^
9090

9191
error: `#[eii]` is only valid on functions
92-
--> $DIR/wrong_target.rs:53:1
92+
--> $DIR/attribute_targets.rs:53:1
9393
|
9494
LL | #[eii]
9595
| ^^^^^^
9696

9797
error: `#[foo]` is only valid on functions
98-
--> $DIR/wrong_target.rs:56:5
98+
--> $DIR/attribute_targets.rs:56:5
9999
|
100100
LL | #[foo]
101101
| ^^^^^^
102102

103103
error: `#[eii]` is only valid on functions
104-
--> $DIR/wrong_target.rs:58:5
104+
--> $DIR/attribute_targets.rs:58:5
105105
|
106106
LL | #[eii]
107107
| ^^^^^^
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)