From 69a58fda12e181b53fd0f27b97d212175b3cb0e8 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Sat, 20 Feb 2021 13:42:38 -0500 Subject: [PATCH] Add 82329 Issue: rust-lang/rust#82329 --- ices/82329.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ices/82329.sh diff --git a/ices/82329.sh b/ices/82329.sh new file mode 100644 index 00000000..f6bc247d --- /dev/null +++ b/ices/82329.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +rustc -Zunpretty=hir,typed - <<'EOF' +pub fn main() { + if true { + } else if let a = 1 { //~ WARN irrefutable `if let` + } +} +EOF