* Document inert vs active attributes
This PR adds a subsection to the 'Syntax and AST' section describing
inert vs active attributes.
For consistency, I've also updated the '#[test] implementation' page to
stop referring to `#[test]' as a 'built in' attribute, since that has a
specific meaning defined on this page.
* Update src/attributes.md
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* Update src/attributes.md
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* Update src/attributes.md
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* Update src/attributes.md
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* Update src/attributes.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update src/test-implementation.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update src/attributes.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update src/test-implementation.md
* Update src/test-implementation.md
* Update src/test-implementation.md
---------
Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* typo fix
how to expose the them to any sort of external testing apparatus
=> how to expose them to any sort of external testing apparatus
* typo fix
These following image depicts
=> The following image depicts
* typo fix
trait itself is found in in
=> trait itself is found in
* Update src/mir/passes.md
following JohnTitor's suggestion
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
* Update src/test-implementation.md
Also following JohnTitor's suggestion
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
`test_main_static` is now used instead of `test_static_main`.
The libsyntax no longer generates a `TESTS` constant but rather passes
all test cases directly into `test_main_static` as a slice.
Update the guide accordingly.