From 07c5638585c49069b1b6b0662f00c9f15577a112 Mon Sep 17 00:00:00 2001 From: rustbot Date: Wed, 31 Aug 2022 04:06:16 +0000 Subject: [PATCH] ices/101020.rs: fixed with errors === stdout === === stderr === error[E0601]: `main` function not found in crate `101020` --> /home/runner/work/glacier/glacier/ices/101020.rs:33:2 | 33 | } | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/101020.rs` error[E0277]: the trait bound `for<'a> &'a mut (): Foo<&'a mut ()>` is not satisfied --> /home/runner/work/glacier/glacier/ices/101020.rs:32:5 | 32 | (&mut EmptyIter).consume(()); | ^^^^^^^^^^^^^^^^ ------- required by a bound introduced by this call | | | the trait `for<'a> Foo<&'a mut ()>` is not implemented for `&'a mut ()` | note: required for `&'a mut ()` to implement `for<'a> FuncInput<'a, &'a mut ()>` --> /home/runner/work/glacier/glacier/ices/101020.rs:28:20 | 28 | impl<'a, T, F: 'a> FuncInput<'a, F> for T where F: Foo {} | ^^^^^^^^^^^^^^^^ ^ note: required by a bound in `LendingIterator::consume` --> /home/runner/work/glacier/glacier/ices/101020.rs:10:33 | 7 | fn consume(self, _f: F) | ------- required by a bound in this ... 10 | for<'a> Self::Item<'a>: FuncInput<'a, Self::Item<'a>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `LendingIterator::consume` error: aborting due to 2 previous errors Some errors have detailed explanations: E0277, E0601. For more information about an error, try `rustc --explain E0277`. ============== --- {ices => fixed}/101020.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/101020.rs (100%) diff --git a/ices/101020.rs b/fixed/101020.rs similarity index 100% rename from ices/101020.rs rename to fixed/101020.rs