Skip to content

Commit 7ff79cf

Browse files
Move test
1 parent c92342d commit 7ff79cf

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

src/tools/tidy/src/ui_tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::path::{Path, PathBuf};
1010

1111
const ENTRY_LIMIT: usize = 900;
1212
// FIXME: The following limits should be reduced eventually.
13-
const ISSUES_ENTRY_LIMIT: usize = 1898;
13+
const ISSUES_ENTRY_LIMIT: usize = 1896;
1414
const ROOT_ENTRY_LIMIT: usize = 870;
1515

1616
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[

tests/ui/for/issue-20605.rs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// revisions: current next
2+
//[next] compile-flags: -Ztrait-solver=next
3+
4+
fn changer<'a>(mut things: Box<dyn Iterator<Item=&'a mut u8>>) {
5+
for item in *things { *item = 0 }
6+
//~^ ERROR the size for values of type
7+
//[next]~^^ ERROR the type `<_ as IntoIterator>::IntoIter` is not well-formed
8+
//[next]~| ERROR the trait bound `dyn Iterator<Item = &'a mut u8>: IntoIterator` is not satisfied
9+
}
10+
11+
fn main() {}

tests/ui/issues/issue-20605.rs

-11
This file was deleted.

0 commit comments

Comments
 (0)