mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-14 01:42:07 +00:00
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
6 lines
141 B
Rust
6 lines
141 B
Rust
#![crate_type = "lib"]
|
|
|
|
struct Apple((Apple, Option(Banana ? Citron)));
|
|
//~^ ERROR invalid `?` in type
|
|
//~| ERROR unexpected token: `Citron`
|