Skip to content

Commit 42c4f10

Browse files
Fix test results
1 parent 4e7941c commit 42c4f10

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

tests/ui/lifetimes/undeclared-lifetime-used-in-debug-macro-issue-70152.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ error[E0261]: use of undeclared lifetime name `'b`
1212
LL | #[derive(Eq, PartialEq)]
1313
| -- lifetime `'b` is missing in item created through this procedural macro
1414
LL | struct Test {
15+
| - help: consider introducing lifetime `'b` here: `<'b>`
1516
LL | a: &'b str,
1617
| ^^ undeclared lifetime
1718

tests/ui/pattern/usefulness/issue-119778-type-error-ice.stderr

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ error[E0425]: cannot find value `S` in this scope
1414
|
1515
LL | struct Foo([u8; S]);
1616
| ^ not found in this scope
17+
|
18+
help: you might be missing a const parameter
19+
|
20+
LL | struct Foo<const S: /* Type */>([u8; S]);
21+
| +++++++++++++++++++++
1722

1823
error[E0658]: `impl Trait` in type aliases is unstable
1924
--> $DIR/issue-119778-type-error-ice.rs:9:14

tests/ui/traits/issue-50480.stderr

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ error[E0412]: cannot find type `N` in this scope
2020
|
2121
LL | struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
2222
| ^ not found in this scope
23+
|
24+
help: you might be missing a type parameter
25+
|
26+
LL | struct Foo<N>(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
27+
| +++
2328

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

0 commit comments

Comments
 (0)