rust/tests/ui/switched-expectations.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
104 B
Rust
Raw Normal View History

2017-12-10 00:20:40 +00:00
fn main() {
let var = 10i32;
let ref string: String = var; //~ ERROR mismatched types [E0308]
}