Skip to content

Commit

Permalink
Bless test output changes
Browse files Browse the repository at this point in the history
  • Loading branch information
steffahn committed Sep 21, 2022
1 parent 696472a commit 0776778
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error[E0423]: expected value, found type parameter `T`
LL | impl<T> Bar<T> for [u8; T] {}
| - ^ not a value
| |
| found this type pararmeter
| found this type parameter

error[E0599]: the function or associated item `foo` exists for struct `Foo<_>`, but its trait bounds were not satisfied
--> $DIR/issue-69654.rs:17:10
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/lexical-scopes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0574]: expected struct, variant or union type, found type parameter `T`
--> $DIR/lexical-scopes.rs:3:13
|
LL | fn f<T>() {
| - found this type pararmeter
| - found this type parameter
LL | let t = T { i: 0 };
| ^ not a struct, variant or union type

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0574]: expected struct, variant or union type, found type parameter `Baz`
--> $DIR/point-at-type-parameter-shadowing-another-type.rs:16:13
|
LL | impl<Baz> Foo<Baz> for Bar {
| --- found this type pararmeter
| --- found this type parameter
...
LL | Baz { num } => num,
| ^^^ not a struct, variant or union type
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/span/issue-35987.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error[E0404]: expected trait, found type parameter `Add`
LL | impl<T: Clone, Add> Add for Foo<T> {
| --- ^^^ not a trait
| |
| found this type pararmeter
| found this type parameter
|
help: consider importing this trait instead
|
Expand Down

0 comments on commit 0776778

Please sign in to comment.