rust/tests/ui/return/issue-64620.rs

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

6 lines
101 B
Rust
Raw Normal View History

enum Bug {
V1 = return [0][0] //~ERROR return statement outside of function body
}
fn main() {}