chroma/lexers/testdata/rust/const_idents.actual
2025-03-22 20:46:00 +13:00

10 lines
199 B
Text

const IM_A_CONST: () = ();
fn main() {
dbg!(IM_A_CONST);
}
// None of this should be considered const
fn foo<T0, T1, U>(_: (T0, T1, U)) {
let _: std::collections::BTreeSet<()> = todo!();
}