2022-03-14 05:04:24 +01:00
|
|
|
error[E0599]: `bool` is not an iterator
|
2021-10-20 09:34:21 +02:00
|
|
|
--> ui_tests/export_mod_raw_return.rs:12:33
|
2020-08-28 06:11:22 +02:00
|
|
|
|
|
2022-03-18 10:51:04 +01:00
|
|
|
9 | #[export_module]
|
|
|
|
| ---------------- in this procedural macro expansion
|
|
|
|
...
|
2020-08-28 06:11:22 +02:00
|
|
|
12 | pub fn test_fn(input: Point) -> bool {
|
2022-03-14 05:04:24 +01:00
|
|
|
| ^^^^ `bool` is not an iterator
|
2020-08-28 06:11:22 +02:00
|
|
|
|
|
2021-03-22 04:18:09 +01:00
|
|
|
= note: the following trait bounds were not satisfied:
|
|
|
|
`bool: std::iter::Iterator`
|
|
|
|
which is required by `&mut bool: std::iter::Iterator`
|
2022-03-18 10:51:04 +01:00
|
|
|
= note: this error originates in the attribute macro `export_module` (in Nightly builds, run with -Z macro-backtrace for more info)
|