Unknown annotations in salsa::tracked
structs do not lead to an error
#728
Labels
good first issue
Good for newcomers
salsa::tracked
structs do not lead to an error
#728
Tracked struct fields that are annotated with unknown attributes are just silently ignored. For example, when changing
ParsedFile
inexamples/lazy-input/main.rs
to this …… everything still compiles without any errors, but
parsed_file.links(db)
returns a clone of the vector now.It looks to me like the developer experience could possibly be improved here.
The text was updated successfully, but these errors were encountered: