Skip to content

Commit

Permalink
Add 85552
Browse files Browse the repository at this point in the history
  • Loading branch information
fanninpm committed Jun 4, 2021
1 parent 6ae5fda commit 71046c5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ices/85552.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

rustc -Z unpretty=thir-tree - <<'EOF'
struct Foo(pub str);
impl Foo {
fn print(&self) {
match self {
&Foo(ref s) => println!("f\"{}\"", s),
}
}
}
fn main() {}
EOF

0 comments on commit 71046c5

Please sign in to comment.