mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
rename gen-kinds to gen-syntax
This commit is contained in:
parent
06ab643b00
commit
2f4a248f80
10 changed files with 13 additions and 13 deletions
|
@ -28,7 +28,7 @@ fn main() -> Result<()> {
|
|||
.help("Verify that generated code is up-to-date")
|
||||
.global(true),
|
||||
)
|
||||
.subcommand(SubCommand::with_name("gen-kinds"))
|
||||
.subcommand(SubCommand::with_name("gen-syntax"))
|
||||
.subcommand(SubCommand::with_name("gen-tests"))
|
||||
.subcommand(SubCommand::with_name("install-code"))
|
||||
.get_matches();
|
||||
|
@ -40,7 +40,7 @@ fn main() -> Result<()> {
|
|||
match matches.subcommand() {
|
||||
("install-code", _) => install_code_extension()?,
|
||||
("gen-tests", _) => gen_tests(mode)?,
|
||||
("gen-kinds", _) => generate(Overwrite)?,
|
||||
("gen-syntax", _) => generate(Overwrite)?,
|
||||
_ => unreachable!(),
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue