1
1
error: `#[no_sanitize(memory)]` should be applied to a function
2
- --> $DIR/no-sanitize.rs:7 :19
2
+ --> $DIR/no-sanitize.rs:6 :19
3
3
|
4
4
LL | #[no_sanitize(memory)]
5
5
| ^^^^^^
@@ -9,39 +9,39 @@ LL | | };
9
9
| |_____- not a function
10
10
11
11
error: `#[no_sanitize(memory)]` should be applied to a function
12
- --> $DIR/no-sanitize.rs:13 :15
12
+ --> $DIR/no-sanitize.rs:12 :15
13
13
|
14
14
LL | #[no_sanitize(memory)]
15
15
| ^^^^^^
16
16
LL | type InvalidTy = ();
17
17
| -------------------- not a function
18
18
19
19
error: `#[no_sanitize(memory)]` should be applied to a function
20
- --> $DIR/no-sanitize.rs:16 :15
20
+ --> $DIR/no-sanitize.rs:15 :15
21
21
|
22
22
LL | #[no_sanitize(memory)]
23
23
| ^^^^^^
24
24
LL | mod invalid_module {}
25
25
| --------------------- not a function
26
26
27
27
error: `#[no_sanitize(memory)]` should be applied to a function
28
- --> $DIR/no-sanitize.rs:20 :27
28
+ --> $DIR/no-sanitize.rs:19 :27
29
29
|
30
30
LL | let _ = #[no_sanitize(memory)]
31
31
| ^^^^^^
32
32
LL | (|| 1);
33
33
| ------ not a function
34
34
35
35
error: `#[no_sanitize(memory)]` should be applied to a function
36
- --> $DIR/no-sanitize.rs:24 :15
36
+ --> $DIR/no-sanitize.rs:23 :15
37
37
|
38
38
LL | #[no_sanitize(memory)]
39
39
| ^^^^^^
40
40
LL | struct F;
41
41
| --------- not a function
42
42
43
43
error: `#[no_sanitize(memory)]` should be applied to a function
44
- --> $DIR/no-sanitize.rs:27 :15
44
+ --> $DIR/no-sanitize.rs:26 :15
45
45
|
46
46
LL | #[no_sanitize(memory)]
47
47
| ^^^^^^
@@ -52,7 +52,7 @@ LL | | }
52
52
| |_- not a function
53
53
54
54
error: `#[no_sanitize(memory)]` should be applied to a function
55
- --> $DIR/no-sanitize.rs:33 :24
55
+ --> $DIR/no-sanitize.rs:32 :24
56
56
|
57
57
LL | #[no_sanitize(address, memory)]
58
58
| ^^^^^^
0 commit comments