mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
17 lines
272 B
Rust
17 lines
272 B
Rust
//@ run-pass
|
|
#![allow(unused_variables)]
|
|
//@ aux-build:issue-19340-1.rs
|
|
|
|
|
|
extern crate issue_19340_1 as lib;
|
|
|
|
use lib::Homura;
|
|
|
|
fn main() {
|
|
let homura = Homura::Madoka { name: "Kaname".to_string() };
|
|
|
|
match homura {
|
|
Homura::Madoka { name } => (),
|
|
};
|
|
}
|