about summary refs log tree commit diff
path: root/src/test/ui/parser
diff options
context:
space:
mode:
authorEsteban Kuber <esteban@kuber.com.ar>2021-10-12 14:18:13 +0000
committerEsteban Kuber <esteban@kuber.com.ar>2021-11-20 19:19:31 +0000
commit563db4245b5373794be8e06ea878f81661888fa0 (patch)
treeb9749b6061dfafc730a6472a508251292e2f64d5 /src/test/ui/parser
parent446b46673d111f5f00e89e7fa208eaf233b6a7a8 (diff)
downloadrust-563db4245b5373794be8e06ea878f81661888fa0.tar.gz
rust-563db4245b5373794be8e06ea878f81661888fa0.zip
Do not mention associated items when they introduce an obligation
Diffstat (limited to 'src/test/ui/parser')
-rw-r--r--src/test/ui/parser/struct-literal-in-for.stderr5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/ui/parser/struct-literal-in-for.stderr b/src/test/ui/parser/struct-literal-in-for.stderr
index feabd8f5813..4b191710c39 100644
--- a/src/test/ui/parser/struct-literal-in-for.stderr
+++ b/src/test/ui/parser/struct-literal-in-for.stderr
@@ -25,11 +25,6 @@ LL | |     }.hi() {
    |
    = help: the trait `Iterator` is not implemented for `bool`
    = note: required because of the requirements on the impl of `IntoIterator` for `bool`
-note: required by `into_iter`
-  --> $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL
-   |
-LL |     fn into_iter(self) -> Self::IntoIter;
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to 2 previous errors