diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-10-08 11:03:35 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-10-15 13:55:43 -0700 |
| commit | 5b7ffd93330142d433ed3035ef838638dc6afa3a (patch) | |
| tree | 3bb68f59db720eb49018674815ce64d06e1d002d /src/test/ui/specialization/defaultimpl | |
| parent | 190589f8a732393047bd0dc10b27a9aae4410944 (diff) | |
| download | rust-5b7ffd93330142d433ed3035ef838638dc6afa3a.tar.gz rust-5b7ffd93330142d433ed3035ef838638dc6afa3a.zip | |
Handle more cases
Diffstat (limited to 'src/test/ui/specialization/defaultimpl')
| -rw-r--r-- | src/test/ui/specialization/defaultimpl/specialization-wfcheck.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/specialization/defaultimpl/specialization-wfcheck.stderr b/src/test/ui/specialization/defaultimpl/specialization-wfcheck.stderr index 45951561e72..5275b7b1ddf 100644 --- a/src/test/ui/specialization/defaultimpl/specialization-wfcheck.stderr +++ b/src/test/ui/specialization/defaultimpl/specialization-wfcheck.stderr @@ -2,9 +2,9 @@ error[E0277]: the trait bound `U: std::cmp::Eq` is not satisfied --> $DIR/specialization-wfcheck.rs:7:17 | LL | default impl<U> Foo<'static, U> for () {} - | ^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `U` - | - = help: consider adding a `where U: std::cmp::Eq` bound + | - ^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `U` + | | + | help: consider restricting this bound: `U: std::cmp::Eq` error: aborting due to previous error |
