Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
15
third-party/vendor/backtrace/tests/accuracy/auxiliary.rs
vendored
Normal file
15
third-party/vendor/backtrace/tests/accuracy/auxiliary.rs
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#[inline(never)]
|
||||
pub fn callback<F>(f: F)
|
||||
where
|
||||
F: FnOnce((&'static str, u32)),
|
||||
{
|
||||
f((file!(), line!()))
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn callback_inlined<F>(f: F)
|
||||
where
|
||||
F: FnOnce((&'static str, u32)),
|
||||
{
|
||||
f((file!(), line!()))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue