Skip to content

Commit 21e2a5e

Browse files
author
boats
committed
Fix filepath in lint test.
1 parent 6fe5f42 commit 21e2a5e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/test/ui/lint/lint-group-nonstandard-style.stderr

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
error: function `CamelCase` should have a snake case name such as `camel_case`
2-
--> $DIR/lint-group-style.rs:14:1
2+
--> $DIR/lint-group-nonstandard-style.rs:14:1
33
|
44
14 | fn CamelCase() {} //~ ERROR should have a snake
55
| ^^^^^^^^^^^^^^^^^
66
|
77
note: lint level defined here
8-
--> $DIR/lint-group-style.rs:11:9
8+
--> $DIR/lint-group-nonstandard-style.rs:11:9
99
|
1010
11 | #![deny(nonstandard_style)]
1111
| ^^^^^^^^^^^^^^^^^
1212
= note: #[deny(non_snake_case)] implied by #[deny(nonstandard_style)]
1313

1414
error: function `CamelCase` should have a snake case name such as `camel_case`
15-
--> $DIR/lint-group-style.rs:22:9
15+
--> $DIR/lint-group-nonstandard-style.rs:22:9
1616
|
1717
22 | fn CamelCase() {} //~ ERROR should have a snake
1818
| ^^^^^^^^^^^^^^^^^
1919
|
2020
note: lint level defined here
21-
--> $DIR/lint-group-style.rs:20:14
21+
--> $DIR/lint-group-nonstandard-style.rs:20:14
2222
|
2323
20 | #[forbid(nonstandard_style)]
2424
| ^^^^^^^^^^^^^^^^^
2525
= note: #[forbid(non_snake_case)] implied by #[forbid(nonstandard_style)]
2626

2727
error: static variable `bad` should have an upper case name such as `BAD`
28-
--> $DIR/lint-group-style.rs:24:9
28+
--> $DIR/lint-group-nonstandard-style.rs:24:9
2929
|
3030
24 | static bad: isize = 1; //~ ERROR should have an upper
3131
| ^^^^^^^^^^^^^^^^^^^^^^
3232
|
3333
note: lint level defined here
34-
--> $DIR/lint-group-style.rs:20:14
34+
--> $DIR/lint-group-nonstandard-style.rs:20:14
3535
|
3636
20 | #[forbid(nonstandard_style)]
3737
| ^^^^^^^^^^^^^^^^^
3838
= note: #[forbid(non_upper_case_globals)] implied by #[forbid(nonstandard_style)]
3939

4040
warning: function `CamelCase` should have a snake case name such as `camel_case`
41-
--> $DIR/lint-group-style.rs:30:9
41+
--> $DIR/lint-group-nonstandard-style.rs:30:9
4242
|
4343
30 | fn CamelCase() {} //~ WARN should have a snake
4444
| ^^^^^^^^^^^^^^^^^
4545
|
4646
note: lint level defined here
47-
--> $DIR/lint-group-style.rs:28:17
47+
--> $DIR/lint-group-nonstandard-style.rs:28:17
4848
|
4949
28 | #![warn(nonstandard_style)]
5050
| ^^^^^^^^^^^^^^^^^
5151
= note: #[warn(non_snake_case)] implied by #[warn(nonstandard_style)]
5252

5353
warning: type `snake_case` should have a camel case name such as `SnakeCase`
54-
--> $DIR/lint-group-style.rs:32:9
54+
--> $DIR/lint-group-nonstandard-style.rs:32:9
5555
|
5656
32 | struct snake_case; //~ WARN should have a camel
5757
| ^^^^^^^^^^^^^^^^^^
5858
|
5959
note: lint level defined here
60-
--> $DIR/lint-group-style.rs:28:17
60+
--> $DIR/lint-group-nonstandard-style.rs:28:17
6161
|
6262
28 | #![warn(nonstandard_style)]
6363
| ^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)