summaryrefslogtreecommitdiffstats
path: root/vendor/tracing-attributes/tests/ui/const_instrument.rs
blob: a251e8f66b978d8f525bebbac46fd7d9ab675658 (plain)
1
2
3
4
5
6
7
8
#![allow(unreachable_code)]

#[tracing::instrument]
const fn unit() {
    ""
}

fn main() {}