From e2ac9895d68b7bed9a8fc3d9ce270ae0129d2b74 Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Thu, 14 Apr 2016 17:17:37 +0300 Subject: mir: place match pattern bindings in their respective arms. --- src/test/debuginfo/associated-types.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/test/debuginfo') diff --git a/src/test/debuginfo/associated-types.rs b/src/test/debuginfo/associated-types.rs index 8615c8a7ef6..ebaad663bb4 100644 --- a/src/test/debuginfo/associated-types.rs +++ b/src/test/debuginfo/associated-types.rs @@ -80,7 +80,7 @@ #![allow(unused_variables)] #![allow(dead_code)] -#![feature(omit_gdb_pretty_printer_section, rustc_attrs)] +#![feature(omit_gdb_pretty_printer_section)] #![omit_gdb_pretty_printer_section] trait TraitWithAssocType { @@ -127,7 +127,6 @@ fn assoc_tuple(arg: (T, T::Type)) { zzz(); // #break } -#[rustc_no_mir] // FIXME(#32790) MIR reuses scopes for match arms. fn assoc_enum(arg: Enum) { match arg { -- cgit 1.4.1-3-g733a5