summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/gate-do-not-const-check.rs
blob: be7e70dfabba76b69765e435f699d2ebbaabc459 (plain)
1
2
3
4
5
#[rustc_do_not_const_check]
//~^ ERROR this is an internal attribute that will never be stable
const fn foo() {}

fn main() {}