Closed
Description
#[cold]
struct DonnerParty;
fn main() {
#[cold] 5;
}
Is it intentional that this work? If so, what is it supposed to do? The reference lists it as a function-only attribute, but I've always known it to work on expressions like loops as well.