]> git.lizzy.rs Git - rust.git/blob - tests/ui/never_type/issue-51506.stderr
Rollup merge of #107615 - notriddle:notriddle/nbsp, r=GuillaumeGomez
[rust.git] / tests / ui / never_type / issue-51506.stderr
1 error[E0277]: `!` is not an iterator
2   --> $DIR/issue-51506.rs:13:24
3    |
4 LL |     default type Out = !;
5    |                        ^ `!` is not an iterator
6    |
7    = help: the trait `Iterator` is not implemented for `!`
8 note: required by a bound in `Trait::Out`
9   --> $DIR/issue-51506.rs:7:15
10    |
11 LL |     type Out: Iterator<Item = u32>;
12    |               ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Trait::Out`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.