about summary refs log tree commit diff
path: root/tests/ui/lint/ice-array-into-iter-lint-issue-121532.stderr
blob: 73ceddae940b2746a40b107350dbc8976f4abfde (plain)
1
2
3
4
5
6
7
8
9
error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
  --> $DIR/ice-array-into-iter-lint-issue-121532.rs:7:12
   |
LL | fn func(a: Self::ItemsIterator) {
   |            ^^^^ `Self` is only available in impls, traits, and type definitions

error: aborting due to 1 previous error

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