diff options
| author | varkor <github@varkor.com> | 2019-03-20 18:32:52 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-03-20 18:32:52 +0000 |
| commit | aff175b328d8d35969e5a76aa0fff4d6c4a5d262 (patch) | |
| tree | cd308683ae262bef60f7c8de793b8be8e41edee2 /src/test/ui/structs/struct-path-self.stderr | |
| parent | 4900585a4f15f93bb466f8c194445a0e9e628d49 (diff) | |
| download | rust-aff175b328d8d35969e5a76aa0fff4d6c4a5d262.tar.gz rust-aff175b328d8d35969e5a76aa0fff4d6c4a5d262.zip | |
Update tests
Diffstat (limited to 'src/test/ui/structs/struct-path-self.stderr')
| -rw-r--r-- | src/test/ui/structs/struct-path-self.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/structs/struct-path-self.stderr b/src/test/ui/structs/struct-path-self.stderr index 0fb02b9c44b..d9e84acdb3c 100644 --- a/src/test/ui/structs/struct-path-self.stderr +++ b/src/test/ui/structs/struct-path-self.stderr @@ -4,7 +4,7 @@ error[E0071]: expected struct, variant or union type, found Self LL | let s = Self {}; | ^^^^ not a struct -error[E0109]: type arguments are not allowed on this entity +error[E0109]: type arguments are not allowed for this type --> $DIR/struct-path-self.rs:7:24 | LL | let z = Self::<u8> {}; @@ -22,13 +22,13 @@ error[E0071]: expected struct, variant or union type, found Self LL | Self { .. } => {} | ^^^^ not a struct -error[E0109]: type arguments are not allowed on this entity +error[E0109]: type arguments are not allowed for this type --> $DIR/struct-path-self.rs:20:24 | LL | let z = Self::<u8> {}; | ^^ type argument not allowed -error[E0109]: type arguments are not allowed on this entity +error[E0109]: type arguments are not allowed for this type --> $DIR/struct-path-self.rs:30:24 | LL | let z = Self::<u8> {}; |
