summary refs log tree commit diff
path: root/src/test/debuginfo
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2016-04-14 17:17:37 +0300
committerEduard Burtescu <edy.burt@gmail.com>2016-04-16 21:51:30 +0300
commite2ac9895d68b7bed9a8fc3d9ce270ae0129d2b74 (patch)
tree56b7f2c794cc946d1e005c4d42b0143a129aa323 /src/test/debuginfo
parentf06bab77586e377a24393b9e2e49d1bb7003dc0b (diff)
downloadrust-e2ac9895d68b7bed9a8fc3d9ce270ae0129d2b74.tar.gz
rust-e2ac9895d68b7bed9a8fc3d9ce270ae0129d2b74.zip
mir: place match pattern bindings in their respective arms.
Diffstat (limited to 'src/test/debuginfo')
-rw-r--r--src/test/debuginfo/associated-types.rs3
1 files changed, 1 insertions, 2 deletions
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<T: TraitWithAssocType>(arg: (T, T::Type)) {
     zzz(); // #break
 }
 
-#[rustc_no_mir] // FIXME(#32790) MIR reuses scopes for match arms.
 fn assoc_enum<T: TraitWithAssocType>(arg: Enum<T>) {
 
     match arg {