mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
auto merge of #18135 : EduardoBautista/rust/fix-misaligned-carot, r=steveklabnik
This commit is contained in:
commit
4bb21f37ef
@ -482,7 +482,7 @@ but it will still print "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 let x: int;
|
||||
^
|
||||
^
|
||||
```
|
||||
|
||||
Rust warns us that we never use the variable binding, but since we never use it,
|
||||
|
Loading…
Reference in New Issue
Block a user