diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-12-01 10:50:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 10:50:12 +0000 |
| commit | bf3f4c85c7abca92aae4aaf69fac2b4f6907ee7b (patch) | |
| tree | 33962c042e8175c9c77e6f0649ef6675fa9b0ef8 /src | |
| parent | 08b171726cf978ce27b00190f22140dde0dcfccf (diff) | |
| parent | 5e1cbfa53ebed513b6d062f0f27187ebd3ed320c (diff) | |
| download | rust-bf3f4c85c7abca92aae4aaf69fac2b4f6907ee7b.tar.gz rust-bf3f4c85c7abca92aae4aaf69fac2b4f6907ee7b.zip | |
Rollup merge of #79227 - sasurau4:test/move-cell-test-to-lib-core, r=jyn514
Remove const_fn_feature_flags test ## Overview Helps with #76268 I found `const_fn_feature_flags` is targeting feature-gate and remove it. r? ``@matklad``
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/consts/const-fn-feature-flags.rs | 13 |
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); -} |
