Skip to content

Commit f3e2ccd

Browse files
committed
Auto merge of #5116 - matthiaskrgr:rustup_29, r=flip1995
update test stderr changelog: none
2 parents 5826a04 + 187983e commit f3e2ccd

26 files changed

+29
-29
lines changed

tests/ui/borrow_box.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: you seem to be trying to use `&Box<T>`. Consider using just `&T`
44
LL | pub fn test1(foo: &mut Box<bool>) {
55
| ^^^^^^^^^^^^^^ help: try: `&mut bool`
66
|
7-
note: lint level defined here
7+
note: the lint level is defined here
88
--> $DIR/borrow_box.rs:1:9
99
|
1010
LL | #![deny(clippy::borrowed_box)]

tests/ui/bytecount.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: You appear to be counting bytes the naive way
44
LL | let _ = x.iter().filter(|&&a| a == 0).count(); // naive byte count
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Consider using the bytecount crate: `bytecount::count(x, 0)`
66
|
7-
note: lint level defined here
7+
note: the lint level is defined here
88
--> $DIR/bytecount.rs:1:8
99
|
1010
LL | #[deny(clippy::naive_bytecount)]

tests/ui/checked_unwrap/complex_conditionals.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | if x.is_ok() && y.is_err() {
66
LL | x.unwrap(); // unnecessary
77
| ^^^^^^^^^^
88
|
9-
note: lint level defined here
9+
note: the lint level is defined here
1010
--> $DIR/complex_conditionals.rs:1:35
1111
|
1212
LL | #![deny(clippy::panicking_unwrap, clippy::unnecessary_unwrap)]
@@ -21,7 +21,7 @@ LL | x.unwrap(); // unnecessary
2121
LL | x.unwrap_err(); // will panic
2222
| ^^^^^^^^^^^^^^
2323
|
24-
note: lint level defined here
24+
note: the lint level is defined here
2525
--> $DIR/complex_conditionals.rs:1:9
2626
|
2727
LL | #![deny(clippy::panicking_unwrap, clippy::unnecessary_unwrap)]

tests/ui/checked_unwrap/simple_conditionals.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | if x.is_some() {
66
LL | x.unwrap(); // unnecessary
77
| ^^^^^^^^^^
88
|
9-
note: lint level defined here
9+
note: the lint level is defined here
1010
--> $DIR/simple_conditionals.rs:1:35
1111
|
1212
LL | #![deny(clippy::panicking_unwrap, clippy::unnecessary_unwrap)]
@@ -21,7 +21,7 @@ LL | if x.is_some() {
2121
LL | x.unwrap(); // will panic
2222
| ^^^^^^^^^^
2323
|
24-
note: lint level defined here
24+
note: the lint level is defined here
2525
--> $DIR/simple_conditionals.rs:1:9
2626
|
2727
LL | #![deny(clippy::panicking_unwrap, clippy::unnecessary_unwrap)]

tests/ui/cstring.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: you are getting the inner pointer of a temporary `CString`
44
LL | CString::new("foo").unwrap().as_ptr();
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
note: lint level defined here
7+
note: the lint level is defined here
88
--> $DIR/cstring.rs:1:9
99
|
1010
LL | #![deny(clippy::temporary_cstring_as_ptr)]

tests/ui/default_lint.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LL | | report_in_external_macro: true
99
LL | | }
1010
| |_^
1111
|
12-
note: lint level defined here
12+
note: the lint level is defined here
1313
--> $DIR/default_lint.rs:1:9
1414
|
1515
LL | #![deny(clippy::internal)]

tests/ui/fallible_impl_from.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | | }
88
LL | | }
99
| |_^
1010
|
11-
note: lint level defined here
11+
note: the lint level is defined here
1212
--> $DIR/fallible_impl_from.rs:1:9
1313
|
1414
LL | #![deny(clippy::fallible_impl_from)]

tests/ui/get_unwrap.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more co
44
LL | let _ = boxed_slice.get(1).unwrap();
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&boxed_slice[1]`
66
|
7-
note: lint level defined here
7+
note: the lint level is defined here
88
--> $DIR/get_unwrap.rs:3:9
99
|
1010
LL | #![deny(clippy::get_unwrap)]

tests/ui/identity_conversion.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: identical conversion
44
LL | let _ = T::from(val);
55
| ^^^^^^^^^^^^ help: consider removing `T::from()`: `val`
66
|
7-
note: lint level defined here
7+
note: the lint level is defined here
88
--> $DIR/identity_conversion.rs:3:9
99
|
1010
LL | #![deny(clippy::identity_conversion)]

tests/ui/inefficient_to_string.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: calling `to_string` on `&&str`
44
LL | let _: String = rrstr.to_string();
55
| ^^^^^^^^^^^^^^^^^ help: try dereferencing the receiver: `(*rrstr).to_string()`
66
|
7-
note: lint level defined here
7+
note: the lint level is defined here
88
--> $DIR/inefficient_to_string.rs:2:9
99
|
1010
LL | #![deny(clippy::inefficient_to_string)]

0 commit comments

Comments
 (0)