mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
2e64bb2d37
Add test for rejecting `trait A: B1 = B2;`. Also test rejection of `trait A: = B;`.
The syntax crate contains those things concerned purely with syntax
– that is, the AST ("abstract syntax tree"), parser, pretty-printer,
lexer, macro expander, and utilities for traversing ASTs.
For more information about how these things work in rustc, see the rustc guide: