rust/tests/ui/parser/issues/issue-54521-3.stderr
Esteban Küber 692bc344d5 Make parse error suggestions verbose and fix spans
Go over all structured parser suggestions and make them verbose style.

When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00

51 lines
1.6 KiB
Plaintext

error: unmatched angle brackets
--> $DIR/issue-54521-3.rs:11:60
|
LL | let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>>>>();
| ^^^^
|
help: remove extra angle brackets
|
LL - let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>>>>();
LL + let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>();
|
error: unmatched angle brackets
--> $DIR/issue-54521-3.rs:14:60
|
LL | let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>>>();
| ^^^
|
help: remove extra angle brackets
|
LL - let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>>>();
LL + let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>();
|
error: unmatched angle brackets
--> $DIR/issue-54521-3.rs:17:60
|
LL | let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>>();
| ^^
|
help: remove extra angle brackets
|
LL - let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>>();
LL + let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>();
|
error: unmatched angle bracket
--> $DIR/issue-54521-3.rs:20:60
|
LL | let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>();
| ^
|
help: remove extra angle bracket
|
LL - let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>>();
LL + let _ = vec![1, 2, 3].into_iter().collect::<Vec<usize>>();
|
error: aborting due to 4 previous errors