]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/conservative_impl_trait.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / conservative_impl_trait.stderr
index 87058c3c29cf4ffe8ebf2f918cead24ff3d58c64..63a4df242f85f9897247a8b24d4101dd16eaeb35 100644 (file)
@@ -5,7 +5,6 @@ LL | fn will_ice(something: &u32) -> impl Iterator<Item = &u32> {
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` is not an iterator
    |
    = help: the trait `Iterator` is not implemented for `()`
-   = note: the return type of a function must have a statically known size
 
 error: aborting due to previous error