From 71046c5aa9b7652b2744dae44a72ce1609cdaed1 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Fri, 4 Jun 2021 18:59:23 -0400 Subject: [PATCH] Add 85552 Issue: rust-lang/rust#85552 --- ices/85552.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ices/85552.sh diff --git a/ices/85552.sh b/ices/85552.sh new file mode 100644 index 00000000..7b8274c5 --- /dev/null +++ b/ices/85552.sh @@ -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