Skip to content

Commit eafd7a6

Browse files
committed
bless
1 parent 92d4690 commit eafd7a6

5 files changed

+8
-12
lines changed

tests/ui/const-generics/generic_const_exprs/issue-105608.stderr

-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ error[E0282]: type annotations needed
44
LL | Combination::<0>.and::<_>().and::<_>();
55
| ^^^ cannot infer type of the type parameter `M` declared on the method `and`
66
|
7-
help: consider specifying the generic argument
8-
|
9-
LL | Combination::<0>.and::<M>().and::<_>();
10-
| ~~~~~
117

128
error: aborting due to 1 previous error
139

tests/ui/never_type/lint-never-type-fallback-flowing-into-unsafe.e2015.stderr

+4
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ LL | msg_send!();
130130
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
131131
= help: specify the type explicitly
132132
= note: this warning originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info)
133+
help: use `()` annotations to avoid fallback changes
134+
|
135+
LL | match send_message::<() /* ?0 */>() {
136+
| ~~
133137

134138
warning: 10 warnings emitted
135139

tests/ui/never_type/lint-never-type-fallback-flowing-into-unsafe.e2024.stderr

+4
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ LL | msg_send!();
130130
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
131131
= help: specify the type explicitly
132132
= note: this error originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info)
133+
help: use `()` annotations to avoid fallback changes
134+
|
135+
LL | match send_message::<() /* ?0 */>() {
136+
| ~~
133137

134138
warning: the type `!` does not permit zero-initialization
135139
--> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:12:18

tests/ui/span/issue-42234-unknown-receiver-type.full.stderr

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ error[E0282]: type annotations needed
1717
LL | .sum::<_>()
1818
| ^^^ cannot infer type of the type parameter `S` declared on the method `sum`
1919
|
20-
help: consider specifying the generic argument
21-
|
22-
LL | .sum::<S>()
23-
| ~~~~~
2420

2521
error: aborting due to 2 previous errors
2622

tests/ui/span/issue-42234-unknown-receiver-type.generic_arg.stderr

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ error[E0282]: type annotations needed
1717
LL | .sum::<_>()
1818
| ^^^ cannot infer type of the type parameter `S` declared on the method `sum`
1919
|
20-
help: consider specifying the generic argument
21-
|
22-
LL | .sum::<S>()
23-
| ~~~~~
2420

2521
error: aborting due to 2 previous errors
2622

0 commit comments

Comments
 (0)