mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-07-08 05:45:17 +00:00

Some checks are pending
Release-plz / Release-plz PR (push) Waiting to run
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Release-plz / Release-plz release (push) Waiting to run
Test / Test (push) Waiting to run
Test / Benchmarks (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Shuttle (push) Waiting to run
* Preserve attributes on interned/tracked structs * Pass unknown attributes from fields to getter functions in inputs
14 lines
267 B
Rust
14 lines
267 B
Rust
#[salsa::tracked]
|
|
struct UnknownAttributeTrackedStruct<'db> {
|
|
#[tracked]
|
|
tracked: bool,
|
|
#[unknown_attr]
|
|
field: bool,
|
|
#[salsa::tracked]
|
|
wrong_tracked: bool,
|
|
/// TestDocComment
|
|
/// TestDocComment
|
|
field_with_doc: bool
|
|
}
|
|
|
|
fn main() {}
|