Refactor contracts
attribute expansion as AST macro
#139304
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
F-contracts
`#![feature(contracts)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Currently it is using token streams to extend macros, which causes some problems, as discussed in #137129 and #138852. Maybe we should refactor it to AST macros, which can do more accurate analysis.
cc @Noratrieb
The text was updated successfully, but these errors were encountered: