Home
last modified time | relevance | path

Searched refs:const_items (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/rust/macros/
H A Dvtable.rs54 let mut const_items; in vtable() localVariable
56 const_items = " in vtable()
72 const_items, in vtable()
80 const_items = "const USE_VTABLE_ATTR: () = ();".to_owned(); in vtable()
87 write!(const_items, "const {gen_const_name}: bool = true;").unwrap(); in vtable()
91 let new_body = vec![const_items.parse().unwrap(), body.stream()] in vtable()