diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-08-15 13:41:54 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-08-29 14:34:43 +0300 |
| commit | 9be155d88e44c1e4cdacfc640448fc9305151ab2 (patch) | |
| tree | 3033245d1b0cc6a67dbaf17afb57986dad6be931 /src/test/ui/impl-trait | |
| parent | fceab9fb348becb62f404d0d9381a49446beac7a (diff) | |
| download | rust-9be155d88e44c1e4cdacfc640448fc9305151ab2.tar.gz rust-9be155d88e44c1e4cdacfc640448fc9305151ab2.zip | |
remove the hacky selection impl in `method::probe`
Diffstat (limited to 'src/test/ui/impl-trait')
| -rw-r--r-- | src/test/ui/impl-trait/no-method-suggested-traits.stderr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/impl-trait/no-method-suggested-traits.stderr b/src/test/ui/impl-trait/no-method-suggested-traits.stderr index fc441f94842..23f115858cd 100644 --- a/src/test/ui/impl-trait/no-method-suggested-traits.stderr +++ b/src/test/ui/impl-trait/no-method-suggested-traits.stderr @@ -8,6 +8,8 @@ error[E0599]: no method named `method` found for type `u32` in the current scope = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: candidate #1: `use foo::Bar;` candidate #2: `use no_method_suggested_traits::foo::PubPub;` + candidate #3: `use no_method_suggested_traits::qux::PrivPub;` + candidate #4: `use no_method_suggested_traits::Reexported;` error[E0599]: no method named `method` found for type `std::rc::Rc<&mut std::boxed::Box<&u32>>` in the current scope --> $DIR/no-method-suggested-traits.rs:38:44 @@ -19,6 +21,8 @@ error[E0599]: no method named `method` found for type `std::rc::Rc<&mut std::box = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: candidate #1: `use foo::Bar;` candidate #2: `use no_method_suggested_traits::foo::PubPub;` + candidate #3: `use no_method_suggested_traits::qux::PrivPub;` + candidate #4: `use no_method_suggested_traits::Reexported;` error[E0599]: no method named `method` found for type `char` in the current scope --> $DIR/no-method-suggested-traits.rs:44:9 |
