rust/src/test/ui/rfcs
Jack O'Connor 9c44d80c83 add Cell::as_array_of_cells, similar to Cell::as_slice_of_cells
Previously, converting `&mut [T; N]` to `&[Cell<T>; N]` looks like this:

    let array = &mut [1, 2, 3];
    let cells: &[Cell<i32>; 3] = Cell::from_mut(&mut array[..])
        .as_slice_of_cells()
        .try_into()
        .unwrap();

With this new helper method, it looks like this:

    let array = &mut [1, 2, 3];
    let cells: &[Cell<i32>; 3] = Cell::from_mut(array).as_array_of_cells();
2021-08-23 01:00:34 -04:00
..
rfc-1789-as-cell add Cell::as_array_of_cells, similar to Cell::as_slice_of_cells 2021-08-23 01:00:34 -04:00
rfc-1937-termination-trait
rfc-2005-default-binding-mode slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
rfc-2151-raw-identifiers
rfc-2175-or-if-while-let
rfc-2396-target_feature-11 Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
rfc1445
rfc1717 Remove unused auxiliary file that was replaced with rust_test_helpers 2020-01-15 18:25:37 +01:00
rfc-1014-2.rs Fix RFC-1014 test 2020-08-15 00:00:00 +00:00
rfc-1014.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
rfc-2302-self-struct-ctor.rs
rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs
rfc1623.rs
rfc1857-drop-order.rs Re-enable Emscripten's exception handling support 2019-10-25 15:16:36 -07:00