about summary refs log tree commit diff
path: root/src/test/debuginfo
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-05-29 09:42:32 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-05-29 09:42:54 -0400
commit2c5e784d6f39965e78bc5fa54fe042ecc944e671 (patch)
treefd10c6c087fdc7f8dfa90cd268736ab9854b5383 /src/test/debuginfo
parent1f29fd4eb0eefc6df81e6b4c77cf6d48678e7563 (diff)
downloadrust-2c5e784d6f39965e78bc5fa54fe042ecc944e671.tar.gz
rust-2c5e784d6f39965e78bc5fa54fe042ecc944e671.zip
add const_fn features
Diffstat (limited to 'src/test/debuginfo')
-rw-r--r--src/test/debuginfo/constant-debug-locs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/debuginfo/constant-debug-locs.rs b/src/test/debuginfo/constant-debug-locs.rs
index 72448ca2e00..8032b53e9dd 100644
--- a/src/test/debuginfo/constant-debug-locs.rs
+++ b/src/test/debuginfo/constant-debug-locs.rs
@@ -15,6 +15,7 @@
 #![allow(dead_code, unused_variables)]
 #![omit_gdb_pretty_printer_section]
 #![feature(std_misc, core)]
+#![feature(const_fn)]
 
 // This test makes sure that the compiler doesn't crash when trying to assign
 // debug locations to const-expressions.