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

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

6 lines
97 B
Rust
Raw Normal View History

2016-12-19 20:34:36 -06:00
const x: () = {
return; //~ ERROR return statement outside of function body
};
fn main() {}