about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/tidy/src/ui_tests.rs2
-rw-r--r--tests/ui/for/issue-20605.current.stderr (renamed from tests/ui/issues/issue-20605.current.stderr)0
-rw-r--r--tests/ui/for/issue-20605.next.stderr (renamed from tests/ui/issues/issue-20605.next.stderr)0
-rw-r--r--tests/ui/for/issue-20605.rs11
-rw-r--r--tests/ui/issues/issue-20605.rs11
5 files changed, 12 insertions, 12 deletions
diff --git a/src/tools/tidy/src/ui_tests.rs b/src/tools/tidy/src/ui_tests.rs
index 5c6a9487788..55bf38110a6 100644
--- a/src/tools/tidy/src/ui_tests.rs
+++ b/src/tools/tidy/src/ui_tests.rs
@@ -10,7 +10,7 @@ use std::path::{Path, PathBuf};
 
 const ENTRY_LIMIT: usize = 900;
 // FIXME: The following limits should be reduced eventually.
-const ISSUES_ENTRY_LIMIT: usize = 1898;
+const ISSUES_ENTRY_LIMIT: usize = 1896;
 const ROOT_ENTRY_LIMIT: usize = 870;
 
 const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[
diff --git a/tests/ui/issues/issue-20605.current.stderr b/tests/ui/for/issue-20605.current.stderr
index b9a53cbd4fc..b9a53cbd4fc 100644
--- a/tests/ui/issues/issue-20605.current.stderr
+++ b/tests/ui/for/issue-20605.current.stderr
diff --git a/tests/ui/issues/issue-20605.next.stderr b/tests/ui/for/issue-20605.next.stderr
index 5362a68c834..5362a68c834 100644
--- a/tests/ui/issues/issue-20605.next.stderr
+++ b/tests/ui/for/issue-20605.next.stderr
diff --git a/tests/ui/for/issue-20605.rs b/tests/ui/for/issue-20605.rs
new file mode 100644
index 00000000000..499271fa92f
--- /dev/null
+++ b/tests/ui/for/issue-20605.rs
@@ -0,0 +1,11 @@
+// revisions: current next
+//[next] compile-flags: -Ztrait-solver=next
+
+fn changer<'a>(mut things: Box<dyn Iterator<Item=&'a mut u8>>) {
+    for item in *things { *item = 0 }
+    //~^ ERROR the size for values of type
+    //[next]~^^ ERROR the type `<_ as IntoIterator>::IntoIter` is not well-formed
+    //[next]~| ERROR the trait bound `dyn Iterator<Item = &'a mut u8>: IntoIterator` is not satisfied
+}
+
+fn main() {}
diff --git a/tests/ui/issues/issue-20605.rs b/tests/ui/issues/issue-20605.rs
deleted file mode 100644
index 66bdc52e6b1..00000000000
--- a/tests/ui/issues/issue-20605.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// revisions: current next
-//[next] compile-flags: -Ztrait-solver=next
-
-fn changer<'a>(mut things: Box<dyn Iterator<Item=&'a mut u8>>) {
-    for item in *things { *item = 0 }
-//~^ ERROR the size for values of type
-//[next]~^^ ERROR the type `<_ as IntoIterator>::IntoIter` is not well-formed
-//[next]~| ERROR the trait bound `dyn Iterator<Item = &'a mut u8>: IntoIterator` is not satisfied
-}
-
-fn main() {}