rust/tests/ui/mir/issue-92893.rs

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

9 lines
234 B
Rust
Raw Normal View History

2022-04-15 04:42:15 +08:00
struct Bug<A = [(); (let a = (), 1).1]> {
//~^ `let` expressions are not supported here
//~| `let` expressions in this position are unstable [E0658]
//~| expected expression, found `let` statement
2022-04-15 04:42:15 +08:00
a: A
}
fn main() {}