summaryrefslogtreecommitdiffstats
path: root/tests/ui/methods/issues/issue-90315.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/methods/issues/issue-90315.rs (renamed from src/test/ui/methods/issues/issue-90315.rs)3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/methods/issues/issue-90315.rs b/tests/ui/methods/issues/issue-90315.rs
index 79cdc4195..fbecaf9b9 100644
--- a/src/test/ui/methods/issues/issue-90315.rs
+++ b/tests/ui/methods/issues/issue-90315.rs
@@ -69,8 +69,7 @@ fn main() {
//~^ ERROR `usize` is not an iterator
let _res: i32 = ..6.take(2).sum();
- //~^ can't call method `take` on ambiguous numeric type
- //~| ERROR mismatched types [E0308]
+ //~^ ERROR can't call method `take` on ambiguous numeric type
//~| HELP you must specify a concrete type for this numeric value
// Won't suggest because `RangeTo` dest not implemented `take`
}