diff options
Diffstat (limited to 'tests/ui/methods/issues/issue-84495.rs')
-rw-r--r-- | tests/ui/methods/issues/issue-84495.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/methods/issues/issue-84495.rs b/tests/ui/methods/issues/issue-84495.rs new file mode 100644 index 000000000..28c094bf2 --- /dev/null +++ b/tests/ui/methods/issues/issue-84495.rs @@ -0,0 +1,4 @@ +fn main() { + let x: i32 = 1; + println!("{:?}", x.count()); //~ ERROR is not an iterator +} |