mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-26 06:42:48 +00:00
Update components/salsa-macro-rules/src/setup_tracked_fn.rs
This commit is contained in:
parent
842abe5c27
commit
b0fafce5a5
1 changed files with 3 additions and 1 deletions
|
@ -283,7 +283,9 @@ macro_rules! setup_tracked_fn {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
// The struct needs be last in the macro expansion in order to make the tracked
|
||||
// function's ident be identified as a function, not a struct, during semantic highlighting.
|
||||
// for more details, see https://github.com/salsa-rs/salsa/pull/612.
|
||||
#[allow(non_camel_case_types)]
|
||||
$vis struct $fn_name {
|
||||
_priv: std::convert::Infallible,
|
||||
|
|
Loading…
Reference in a new issue