mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
s/foo/main/
This commit is contained in:
parent
101f1e1193
commit
297595532c
@ -12,7 +12,7 @@
|
||||
|
||||
// test for https://github.com/rust-lang/rust/issues/29723
|
||||
|
||||
fn foo() {
|
||||
fn main() {
|
||||
let s = String::new();
|
||||
let _s = match 0 {
|
||||
0 if { drop(s); false } => String::from("oops"),
|
||||
|
Loading…
Reference in New Issue
Block a user