From 2888d5631c64216c472933fea51371e6c563818f Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Fri, 14 Dec 2018 15:06:03 +0100 Subject: [PATCH] Update some new tests to changed error messages --- .../ui/feature-gates/feature-gate-re-rebalance-coherence.stderr | 2 +- src/test/ui/re_rebalance_coherence/coherence-all-remote.stderr | 2 +- .../ui/re_rebalance_coherence/coherence-bigint-param.stderr | 2 +- .../coherence-cross-crate-conflict.stderr | 2 +- .../re_rebalance_coherence/coherence-lone-type-parameter.stderr | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/ui/feature-gates/feature-gate-re-rebalance-coherence.stderr b/src/test/ui/feature-gates/feature-gate-re-rebalance-coherence.stderr index 7a79d0b1f2a..5972e610e47 100644 --- a/src/test/ui/feature-gates/feature-gate-re-rebalance-coherence.stderr +++ b/src/test/ui/feature-gates/feature-gate-re-rebalance-coherence.stderr @@ -1,4 +1,4 @@ -error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct`) +error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct`) --> $DIR/feature-gate-re-rebalance-coherence.rs:10:1 | LL | impl<'a, T:'a, Tab> QueryFragment for BatchInsert<'a, T, Tab> {} diff --git a/src/test/ui/re_rebalance_coherence/coherence-all-remote.stderr b/src/test/ui/re_rebalance_coherence/coherence-all-remote.stderr index a6d5105cdc0..509cee34b23 100644 --- a/src/test/ui/re_rebalance_coherence/coherence-all-remote.stderr +++ b/src/test/ui/re_rebalance_coherence/coherence-all-remote.stderr @@ -1,4 +1,4 @@ -error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct`) +error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct`) --> $DIR/coherence-all-remote.rs:18:1 | LL | impl Remote1 for isize { } diff --git a/src/test/ui/re_rebalance_coherence/coherence-bigint-param.stderr b/src/test/ui/re_rebalance_coherence/coherence-bigint-param.stderr index ed1540a303e..c2f6a15e8e3 100644 --- a/src/test/ui/re_rebalance_coherence/coherence-bigint-param.stderr +++ b/src/test/ui/re_rebalance_coherence/coherence-bigint-param.stderr @@ -1,4 +1,4 @@ -error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct`) +error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct`) --> $DIR/coherence-bigint-param.rs:20:1 | LL | impl Remote1 for T { } diff --git a/src/test/ui/re_rebalance_coherence/coherence-cross-crate-conflict.stderr b/src/test/ui/re_rebalance_coherence/coherence-cross-crate-conflict.stderr index e4f8ba9868e..cc10ac8f025 100644 --- a/src/test/ui/re_rebalance_coherence/coherence-cross-crate-conflict.stderr +++ b/src/test/ui/re_rebalance_coherence/coherence-cross-crate-conflict.stderr @@ -7,7 +7,7 @@ LL | impl 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`) +error[E0210]: type parameter `A` must be used as the type parameter for some local type (e.g., `MyStruct`) --> $DIR/coherence-cross-crate-conflict.rs:20:1 | LL | impl Foo for A { diff --git a/src/test/ui/re_rebalance_coherence/coherence-lone-type-parameter.stderr b/src/test/ui/re_rebalance_coherence/coherence-lone-type-parameter.stderr index 60ec7fb67de..403ced3f287 100644 --- a/src/test/ui/re_rebalance_coherence/coherence-lone-type-parameter.stderr +++ b/src/test/ui/re_rebalance_coherence/coherence-lone-type-parameter.stderr @@ -1,4 +1,4 @@ -error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct`) +error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct`) --> $DIR/coherence-lone-type-parameter.rs:18:1 | LL | impl Remote for T { }