File: tracked_struct_unknown_attribute.rs

package info (click to toggle)
rust-salsa 0.23.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,424 kB
  • sloc: sh: 12; makefile: 2; javascript: 1
file content (14 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[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() {}