8d91e71e9a
These changes were made by manually running `rustfmt` on all of the test files, and then manually undoing all cases where the original formatting appeared to have been deliberate. `rustfmt +nightly --config-path=/dev/null --edition=2021 tests/run-coverage*/**/*.rs`
23 lines
326 B
Rust
23 lines
326 B
Rust
// compile-flags: -Cinstrument-coverage -Ccodegen-units=4 -Copt-level=0
|
|
|
|
#![allow(dead_code)]
|
|
|
|
mod foo {
|
|
#[inline(always)]
|
|
pub fn called() {}
|
|
|
|
fn uncalled() {}
|
|
}
|
|
|
|
pub mod bar {
|
|
pub fn call_me() {
|
|
super::foo::called();
|
|
}
|
|
}
|
|
|
|
pub mod baz {
|
|
pub fn call_me() {
|
|
super::foo::called();
|
|
}
|
|
}
|