You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Lock free shared resource {:?} is used by tasks at different priorities",
r.to_string(),
),
));
The proc-macro-error crate provides similar functionality: it lets you emit rustc-like error, notes and warnings messages with appropriate spans. It has an emit_error! API to collect error messages and a separate abort! API to terminate the proc-macro and emit all collected errors. I think using proc-macro-error API would simplify the error handling in the analysis pass.
The text was updated successfully, but these errors were encountered:
The analysis pass collects error messages manually like this:
rtic-syntax/src/analyze.rs
Lines 109 to 115 in b5389b4
The proc-macro-error crate provides similar functionality: it lets you emit rustc-like error, notes and warnings messages with appropriate spans. It has an
emit_error!
API to collect error messages and a separateabort!
API to terminate the proc-macro and emit all collected errors. I think using proc-macro-error API would simplify the error handling in the analysis pass.The text was updated successfully, but these errors were encountered: