mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 11:37:39 +00:00
14 lines
291 B
Rust
14 lines
291 B
Rust
![]() |
//@ 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.
|