Skip to content

Commit

Permalink
Update UI tests that generates duplicated result
Browse files Browse the repository at this point in the history
  • Loading branch information
long-long-float committed Feb 5, 2024
1 parent 4909258 commit 8cc5084
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ error[E0261]: use of undeclared lifetime name `'b`
LL | #[derive(Eq, PartialEq)]
| -- lifetime `'b` is missing in item created through this procedural macro
LL | struct Test {
| - help: consider introducing lifetime `'b` here: `<'b>`
LL | a: &'b str,
| ^^ undeclared lifetime

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ error[E0425]: cannot find value `S` in this scope
|
LL | struct Foo([u8; S]);
| ^ not found in this scope
|
help: you might be missing a const parameter
|
LL | struct Foo<const S: /* Type */>([u8; S]);
| +++++++++++++++++++++

error[E0658]: `impl Trait` in type aliases is unstable
--> $DIR/issue-119778-type-error-ice.rs:9:14
Expand Down
5 changes: 0 additions & 5 deletions tests/ui/traits/issue-50480.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ error[E0412]: cannot find type `N` in this scope
|
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
| ^ not found in this scope
|
help: you might be missing a type parameter
|
LL | struct Foo<N>(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
| +++

error[E0412]: cannot find type `NotDefined` in this scope
--> $DIR/issue-50480.rs:3:15
Expand Down

0 comments on commit 8cc5084

Please sign in to comment.