mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Rename ra_syntax -> syntax
This commit is contained in:
parent
3d6889cba7
commit
a1c187eef3
958 changed files with 353 additions and 363 deletions
|
@ -25,12 +25,12 @@ pub use self::{
|
|||
};
|
||||
|
||||
const GRAMMAR_DIR: &str = "crates/parser/src/grammar";
|
||||
const OK_INLINE_TESTS_DIR: &str = "crates/ra_syntax/test_data/parser/inline/ok";
|
||||
const ERR_INLINE_TESTS_DIR: &str = "crates/ra_syntax/test_data/parser/inline/err";
|
||||
const OK_INLINE_TESTS_DIR: &str = "crates/syntax/test_data/parser/inline/ok";
|
||||
const ERR_INLINE_TESTS_DIR: &str = "crates/syntax/test_data/parser/inline/err";
|
||||
|
||||
const SYNTAX_KINDS: &str = "crates/parser/src/syntax_kind/generated.rs";
|
||||
const AST_NODES: &str = "crates/ra_syntax/src/ast/generated/nodes.rs";
|
||||
const AST_TOKENS: &str = "crates/ra_syntax/src/ast/generated/tokens.rs";
|
||||
const AST_NODES: &str = "crates/syntax/src/ast/generated/nodes.rs";
|
||||
const AST_TOKENS: &str = "crates/syntax/src/ast/generated/tokens.rs";
|
||||
|
||||
const ASSISTS_DIR: &str = "crates/ra_assists/src/handlers";
|
||||
const ASSISTS_TESTS: &str = "crates/ra_assists/src/tests/generated.rs";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! This module generates AST datatype used by rust-analyzer.
|
||||
//!
|
||||
//! Specifically, it generates the `SyntaxKind` enum and a number of newtype
|
||||
//! wrappers around `SyntaxNode` which implement `ra_syntax::AstNode`.
|
||||
//! wrappers around `SyntaxNode` which implement `syntax::AstNode`.
|
||||
|
||||
use std::{
|
||||
collections::{BTreeSet, HashSet},
|
||||
|
|
|
@ -103,7 +103,7 @@ pub fn run_clippy() -> Result<()> {
|
|||
}
|
||||
|
||||
pub fn run_fuzzer() -> Result<()> {
|
||||
let _d = pushd("./crates/ra_syntax");
|
||||
let _d = pushd("./crates/syntax");
|
||||
let _e = pushenv("RUSTUP_TOOLCHAIN", "nightly");
|
||||
if run!("cargo fuzz --help").is_err() {
|
||||
run!("cargo install cargo-fuzz")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue