Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

gca_adts

Enables ADTs under the generic const args family of features (e.g. gca! macro).

The tracking issue for this feature is: #163420

Examples

#![feature(gca_min_const_items, min_adt_const_params, gca_adts)]

use std::gca;

struct S<const A: [u32; 2]>;

fn main() {
    let _: S<gca!([1, 2])> = S::<gca!([1, 2])>;
}