Allow unimplemented in other tests

This commit is contained in:
Michael A. Plikk 2018-05-24 16:30:26 +02:00
parent 88c3c2f1c2
commit dc8d29be4a
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ struct Foo;
impl Iterator for Foo {
type Item = ();
#[allow(unimplemented)]
fn next(&mut self) -> Option<()> {
let _ = self.len() == 0;
unimplemented!()