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/error-codes | |
| parent | 4900585a4f15f93bb466f8c194445a0e9e628d49 (diff) | |
| download | rust-aff175b328d8d35969e5a76aa0fff4d6c4a5d262.tar.gz rust-aff175b328d8d35969e5a76aa0fff4d6c4a5d262.zip | |
Update tests
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0109.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0110.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0110.stderr | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/error-codes/E0109.stderr b/src/test/ui/error-codes/E0109.stderr index a807f2d44a6..577e286fcc6 100644 --- a/src/test/ui/error-codes/E0109.stderr +++ b/src/test/ui/error-codes/E0109.stderr @@ -1,4 +1,4 @@ -error[E0109]: type arguments are not allowed on this entity +error[E0109]: type arguments are not allowed for this type --> $DIR/E0109.rs:1:14 | LL | type X = u32<i32>; diff --git a/src/test/ui/error-codes/E0110.rs b/src/test/ui/error-codes/E0110.rs index 764b62b8dfe..314c7f5af60 100644 --- a/src/test/ui/error-codes/E0110.rs +++ b/src/test/ui/error-codes/E0110.rs @@ -1,3 +1,3 @@ -type X = u32<'static>; //~ ERROR E0110 +type X = u32<'static>; //~ ERROR E0109 fn main() {} diff --git a/src/test/ui/error-codes/E0110.stderr b/src/test/ui/error-codes/E0110.stderr index 3bc4775bdc1..b0221318087 100644 --- a/src/test/ui/error-codes/E0110.stderr +++ b/src/test/ui/error-codes/E0110.stderr @@ -1,4 +1,4 @@ -error[E0110]: lifetime arguments are not allowed on this entity +error[E0109]: lifetime arguments are not allowed for this type --> $DIR/E0110.rs:1:14 | LL | type X = u32<'static>; @@ -6,4 +6,4 @@ LL | type X = u32<'static>; error: aborting due to previous error -For more information about this error, try `rustc --explain E0110`. +For more information about this error, try `rustc --explain E0109`. |
