diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/inference/simple-infer.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/inference/simple-infer.rs b/src/test/ui/inference/simple-infer.rs new file mode 100644 index 000000000..561e4fdec --- /dev/null +++ b/src/test/ui/inference/simple-infer.rs @@ -0,0 +1,6 @@ +// run-pass + +#![allow(unused_mut)] + + +pub fn main() { let mut n; n = 1; println!("{}", n); } |