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-20 02:34:36 +00:00
const x: () = {
return; //~ ERROR return statement outside of function body
};
fn main() {}