about summary refs log tree commit diff
path: root/src/test/debuginfo
diff options
context:
space:
mode:
authorAlex Burka <alex@alexburka.com>2017-09-08 18:26:54 +0000
committerAlex Burka <alex@alexburka.com>2017-09-16 15:53:02 +0000
commit681e5da61ee3f1251c00c2ec0d93dd23dbf861bc (patch)
treea6e75c81f714d9869123ffe5b3c34fbfc05fae61 /src/test/debuginfo
parenta12d0d4f6672a9621771433d2f05757f1f79130d (diff)
downloadrust-681e5da61ee3f1251c00c2ec0d93dd23dbf861bc.tar.gz
rust-681e5da61ee3f1251c00c2ec0d93dd23dbf861bc.zip
change #![feature(const_fn)] to specific gates
Diffstat (limited to 'src/test/debuginfo')
-rw-r--r--src/test/debuginfo/constant-debug-locs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debuginfo/constant-debug-locs.rs b/src/test/debuginfo/constant-debug-locs.rs
index 7b7bda30225..7a24510b7d4 100644
--- a/src/test/debuginfo/constant-debug-locs.rs
+++ b/src/test/debuginfo/constant-debug-locs.rs
@@ -15,7 +15,7 @@
 #![allow(dead_code, unused_variables)]
 #![feature(omit_gdb_pretty_printer_section)]
 #![omit_gdb_pretty_printer_section]
-#![feature(const_fn)]
+#![feature(const_unsafe_cell_new)]
 #![feature(static_mutex)]
 
 // This test makes sure that the compiler doesn't crash when trying to assign