rust/tests/coverage/auxiliary/inline_mixed_helper.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
291 B
Rust
Raw Normal View History

//@ edition: 2021
//@ compile-flags: -Cinstrument-coverage=on
#[inline]
pub fn inline_me() {}
#[inline(never)]
pub fn no_inlining_please() {}
pub fn generic<T>() {}
// FIXME(#132436): Even though this doesn't ICE, it still produces coverage
// reports that undercount the affected code.