about summary refs log tree commit diff
path: root/crates/rust-analyzer/src/cli
AgeCommit message (Collapse)AuthorLines
2020-04-16Unmix error handling when discovering workspacesAleksey Kladov-1/+1
Hitting an io::Error is a legit problem. Finding more than one Cargo.toml is not.
2020-04-16Decouple project loading from project discovery a bitAleksey Kladov-3/+5
2020-04-16Add proc-macro cli command for rust-analyzerEdwin Cheng-1/+4
2020-04-16Add config for proc_macroEdwin Cheng-1/+1
2020-04-16Add with-proc-macro in bench ,stats and diagnositcsEdwin Cheng-6/+18
2020-04-14diagnostics cli, iterate over membersJosh Mcguigan-18/+22
2020-04-14cli diagnostics walk filesJosh Mcguigan-47/+43
2020-04-13add diagnostics subcommand to rust-analyzer CLIJosh Mcguigan-0/+74
2020-04-11Remove dead codeAleksey Kladov-10/+2
2020-04-11Fix non canonicallized path for crate fileEdwin Cheng-1/+3
2020-04-02Migrate to privacy as per review commetsveetaha-9/+12
2020-04-02Simpify workspace handlingveetaha-16/+12
2020-04-01Reduce scope of deserializationAleksey Kladov-2/+2
2020-03-31Better names for config structsAleksey Kladov-2/+2
2020-03-28Remove some unwrapsAleksey Kladov-2/+3
2020-03-26Add ProcMacroClientEdwin Cheng-5/+14
2020-03-17Support loading OUT_DIR for CLI runsEmil Lauridsen-31/+52
2020-03-17Change existing OUT_DIR override config to make use of new infrastructureEmil Lauridsen-8/+3
2020-03-17Support loading OUT_DIR from cargo check at launchEmil Lauridsen-6/+12
2020-03-11Merge #3549bors[bot]-1/+4
3549: Implement env! macro r=matklad a=edwin0cheng This PR implements `env!` macro by adding following things: 1. Added `additional_outdirs` settings in vscode. (naming to be bikeshed) 2. Added `ExternSourceId` which is a wrapping for SourceRootId but only used in extern sources. It is because `OUT_DIR` is not belonged to any crate and we have to access it behind an `AstDatabase`. 3. This PR does not implement the `OUT_DIR` parsing from `cargo check`. I don't have general design about this, @kiljacken could we reuse some cargo watch code for that ? ~~Block on [#3536]~~ PS: After this PR , we (kind of) completed the `include!(concat!(env!('OUT_DIR'), "foo.rs")` macro call combo. [Exodia Obliterate!](https://www.youtube.com/watch?v=RfqNH3FoGi0) Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-10Move FeatureFlagsAleksey Kladov-2/+2
2020-03-10Pull completion options up to the rust-analyzerAleksey Kladov-5/+7
2020-03-11Setup Env in worldEdwin Cheng-1/+4
2020-03-08Consider crate declaration namesKirill Bulatov-6/+5
2020-03-06Source map returns a resultAleksey Kladov-2/+2
cc #2236
2020-02-29Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov-2/+2
2020-02-29Fix a common false-positive type mismatchFlorian Diebold-9/+15
E.g. for `&{ some_string() }` in a context where a `&str` is expected, we reported a mismatch inside the block. The problem is that we're passing an expectation of `str` down, but the expectation is more of a hint in this case. There's a long comment in rustc about this, which I just copied. Also, fix reported location for type mismatches in macros.
2020-02-18Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov-1/+1
2020-02-18Rename folderAleksey Kladov-0/+693