1
Fork 0

auto merge of #18135 : EduardoBautista/rust/fix-misaligned-carot, r=steveklabnik

This commit is contained in:
bors 2014-10-19 07:17:15 +00:00
commit 4bb21f37ef

View file

@ -482,7 +482,7 @@ but it will still print "Hello, world!":
Compiling hello_world v0.0.1 (file:///home/you/projects/hello_world) Compiling hello_world v0.0.1 (file:///home/you/projects/hello_world)
src/main.rs:2:9: 2:10 warning: unused variable: `x`, #[warn(unused_variable)] on by default src/main.rs:2:9: 2:10 warning: unused variable: `x`, #[warn(unused_variable)] on by default
src/main.rs:2 let x: int; src/main.rs:2 let x: int;
^ ^
``` ```
Rust warns us that we never use the variable binding, but since we never use it, Rust warns us that we never use the variable binding, but since we never use it,