Update some new tests to changed error messages

This commit is contained in:
Georg Semmler 2018-12-14 15:06:03 +01:00
parent 992712ef30
commit 2888d5631c
No known key found for this signature in database
GPG Key ID: A87BCEE5205CE489
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct<T>`)
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
--> $DIR/feature-gate-re-rebalance-coherence.rs:10:1
|
LL | impl<'a, T:'a, Tab> QueryFragment<Oracle> for BatchInsert<'a, T, Tab> {}

View File

@ -1,4 +1,4 @@
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct<T>`)
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
--> $DIR/coherence-all-remote.rs:18:1
|
LL | impl<T> Remote1<T> for isize { }

View File

@ -1,4 +1,4 @@
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct<T>`)
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
--> $DIR/coherence-bigint-param.rs:20:1
|
LL | impl<T> Remote1<BigInt> for T { }

View File

@ -7,7 +7,7 @@ LL | impl<A> Foo for A {
= note: conflicting implementation in crate `trait_impl_conflict`:
- impl trait_impl_conflict::Foo for isize;
error[E0210]: type parameter `A` must be used as the type parameter for some local type (e.g. `MyStruct<A>`)
error[E0210]: type parameter `A` must be used as the type parameter for some local type (e.g., `MyStruct<A>`)
--> $DIR/coherence-cross-crate-conflict.rs:20:1
|
LL | impl<A> Foo for A {

View File

@ -1,4 +1,4 @@
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct<T>`)
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
--> $DIR/coherence-lone-type-parameter.rs:18:1
|
LL | impl<T> Remote for T { }