remove fixme & update stderr files

This commit is contained in:
Kivooeo
2025-12-16 10:48:15 +00:00
parent a47c8b292e
commit 84f2854bc3
10 changed files with 0 additions and 29 deletions
@@ -303,17 +303,6 @@ fn emit_messages_default(
}
}
let suggestions_expected = suggestions
.iter()
.filter(|s| {
matches!(
s.style,
SuggestionStyle::HideCodeInline
| SuggestionStyle::ShowCode
| SuggestionStyle::ShowAlways
)
})
.count();
for suggestion in suggestions {
match suggestion.style {
SuggestionStyle::CompletelyHidden => {
@@ -526,12 +515,6 @@ fn emit_messages_default(
}
}
// FIXME: This hack should be removed once annotate_snippets is the
// default emitter.
if suggestions_expected > 0 && report.is_empty() {
group = group.element(Padding);
}
if !group.is_empty() {
report.push(group);
}
@@ -204,21 +204,18 @@ error: passing a unit value to a function
|
LL | fn_take_unit(mac!(def));
| ^^^^^^^^^^^^^^^^^^^^^^^
|
error: passing a unit value to a function
--> tests/ui/unit_arg.rs:173:5
|
LL | fn_take_unit(mac!(func Default::default));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
error: passing a unit value to a function
--> tests/ui/unit_arg.rs:175:5
|
LL | fn_take_unit(mac!(nonempty_block Default::default()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
error: aborting due to 13 previous errors
@@ -5,7 +5,6 @@ LL | #![crate_type(lib)]
| ^^^^^^^^^^^^^^^^^^^
|
= note: for more information, visit <https://doc.rust-lang.org/reference/linkage.html>
|
error: aborting due to 1 previous error
@@ -5,7 +5,6 @@ LL | #![crate_type]
| ^^^^^^^^^^^^^^
|
= note: for more information, visit <https://doc.rust-lang.org/reference/linkage.html>
|
error: aborting due to 1 previous error
@@ -5,7 +5,6 @@ LL | #![crate_type = foo!()]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, visit <https://doc.rust-lang.org/reference/linkage.html>
|
error: aborting due to 1 previous error
@@ -3,7 +3,6 @@ error[E0282]: type annotations needed
|
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
@@ -5,7 +5,6 @@ LL | dbg!(b);
| ^^^^^^^ expected named lifetime parameter
|
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
|
error[E0425]: cannot find function `a` in this scope
--> $DIR/ice-line-bounds-issue-148732.rs:1:7
-2
View File
@@ -38,14 +38,12 @@ error[E0539]: malformed `cfg_select` macro input
|
LL | "str" => {}
| ^^^^^ expected a valid identifier here
|
error[E0539]: malformed `cfg_select` macro input
--> $DIR/cfg_select.rs:80:5
|
LL | a::b => {}
| ^^^^ expected a valid identifier here
|
error[E0537]: invalid predicate `a`
--> $DIR/cfg_select.rs:85:5
@@ -16,7 +16,6 @@ error[E0282]: type annotations needed
|
LL | .sum::<_>()
| ^^^ cannot infer type of the type parameter `S` declared on the method `sum`
|
error: aborting due to 2 previous errors
@@ -9,7 +9,6 @@ LL | | }
...
LL | A(2, vec![])
| ^^^^^^^^^^^^
|
error: aborting due to 1 previous error