mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
8ce8c42e0b
When a suggestion part is for already present code, do not highlight it. If after that there are no highlights left, do not show the suggestion at all. Fix clippy lint suggestion incorrectly treated as `span_help`.
11 lines
343 B
Plaintext
11 lines
343 B
Plaintext
error[E0282]: type annotations needed
|
|
--> $DIR/issue-105608.rs:13:22
|
|
|
|
|
LL | Combination::<0>.and::<_>().and::<_>();
|
|
| ^^^ cannot infer type of the type parameter `M` declared on the method `and`
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|