diff options
| author | Ralf Jung <post@ralfj.de> | 2022-12-16 12:19:43 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-12-16 12:19:43 +0100 |
| commit | 3d67703e75912a0f58b43feae8ee8b5b20504dfe (patch) | |
| tree | c05fb48510935410d6bea3011c5442c26bbec2ce /src/test/ui/methods/method-call-err-msg.stderr | |
| parent | 33e5b953de13307a4b4206d85b74ea55e81d38a1 (diff) | |
| parent | 4251289f27949cec69d8aa39d3891a4977fbc856 (diff) | |
Merge from rustc
Diffstat (limited to 'src/test/ui/methods/method-call-err-msg.stderr')
| -rw-r--r-- | src/test/ui/methods/method-call-err-msg.stderr | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/ui/methods/method-call-err-msg.stderr b/src/test/ui/methods/method-call-err-msg.stderr index a4ffb864dad..3f4e647491e 100644 --- a/src/test/ui/methods/method-call-err-msg.stderr +++ b/src/test/ui/methods/method-call-err-msg.stderr @@ -61,11 +61,8 @@ LL | .take() = note: the following trait bounds were not satisfied: `Foo: Iterator` which is required by `&mut Foo: Iterator` -note: the following trait must be implemented +note: the trait `Iterator` must be implemented --> $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL - | -LL | pub trait Iterator { - | ^^^^^^^^^^^^^^^^^^ = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `take`, perhaps you need to implement it: candidate #1: `Iterator` |
