summaryrefslogtreecommitdiffstats
path: root/src/test/ui/never_type/issue-51506.stderr
blob: 293ec3a725d89f2fe91fbda68e5962bffb17cc92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0277]: `!` is not an iterator
  --> $DIR/issue-51506.rs:13:24
   |
LL |     default type Out = !;
   |                        ^ `!` is not an iterator
   |
   = help: the trait `Iterator` is not implemented for `!`
note: required by a bound in `Trait::Out`
  --> $DIR/issue-51506.rs:7:15
   |
LL |     type Out: Iterator<Item = u32>;
   |               ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Trait::Out`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.