rust/tests/ui/issues/issue-11771.rs

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

12 lines
125 B
Rust
Raw Normal View History

2014-11-02 23:58:00 +00:00
fn main() {
let x = ();
1 +
x //~^ ERROR E0277
2014-11-02 23:58:00 +00:00
;
let x: () = ();
1 +
x //~^ ERROR E0277
2014-11-02 23:58:00 +00:00
;
}