about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaiki Ihara <sasurau4@gmail.com>2020-11-26 21:13:02 +0900
committerDaiki Ihara <sasurau4@gmail.com>2020-11-26 21:13:02 +0900
commit5e1cbfa53ebed513b6d062f0f27187ebd3ed320c (patch)
treecddba0cb8bd3207bb0fcf03619ce0bd156d68709
parent0d9651648d3b741e81ba7042e49a07b78a441517 (diff)
downloadrust-5e1cbfa53ebed513b6d062f0f27187ebd3ed320c.tar.gz
rust-5e1cbfa53ebed513b6d062f0f27187ebd3ed320c.zip
remove const-fn-feature-flags test
-rw-r--r--src/test/ui/consts/const-fn-feature-flags.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/consts/const-fn-feature-flags.rs b/src/test/ui/consts/const-fn-feature-flags.rs
deleted file mode 100644
index 30e7e102b86..00000000000
--- a/src/test/ui/consts/const-fn-feature-flags.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// run-pass
-// Test use of stabilized const fns in std formerly using individual feature gates.
-
-use std::cell::Cell;
-
-const CELL: Cell<i32> = Cell::new(42);
-
-fn main() {
-    let v = CELL.get();
-    CELL.set(v+1);
-
-    assert_eq!(CELL.get(), v);
-}