Merge #4679
4679: Update a comment for the new source organization r=matklad a=nelhage Co-authored-by: Nelson Elhage <nelhage@nelhage.com>
This commit is contained in:
commit
68f26dc1bb
@ -18,9 +18,10 @@
|
||||
//! // fn foo() {}
|
||||
//! ```
|
||||
//!
|
||||
//! After adding a new inline-test, run `cargo collect-tests` to extract
|
||||
//! it as a standalone text-fixture into `tests/data/parser/inline`, and
|
||||
//! run `cargo test` once to create the "gold" value.
|
||||
//! After adding a new inline-test, run `cargo xtask codegen` to
|
||||
//! extract it as a standalone text-fixture into
|
||||
//! `crates/ra_syntax/test_data/parser/`, and run `cargo test` once to
|
||||
//! create the "gold" value.
|
||||
//!
|
||||
//! Coding convention: rules like `where_clause` always produce either a
|
||||
//! node or an error, rules like `opt_where_clause` may produce nothing.
|
||||
|
Loading…
x
Reference in New Issue
Block a user