Fix test results

This commit is contained in:
long-long-float 2024-02-10 00:13:13 +09:00
parent 4e7941c2c5
commit 42c4f1024a
3 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,7 @@ 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

View File

@ -14,6 +14,11 @@ 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

View File

@ -20,6 +20,11 @@ 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