mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 12:07:31 +00:00

This case can't actually happen yet (other than via a testing flag), because currently all of a function's spans must belong to the same file and expansion. But this will be an important edge case when adding expansion region support.
8 lines
262 B
Plaintext
8 lines
262 B
Plaintext
LL| |//@ edition: 2021
|
|
LL| |
|
|
LL| |// Force this function to be generated in its home crate, so that it ends up
|
|
LL| |// with normal coverage metadata.
|
|
LL| |#[inline(never)]
|
|
LL| 1|pub fn external_function() {}
|
|
|