aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src
Commit message (Collapse)AuthorAgeFilesLines
* Add extern sourceEdwin Cheng2020-03-111-3/+10
|
* Setup Env in worldEdwin Cheng2020-03-101-3/+15
|
* Consider crate declaration namesKirill Bulatov2020-03-081-6/+7
|
* ra_project_model: migrate to Sysroot::alloc()Veetaha2020-02-291-1/+1
|
* keep one CargoTomlNotFoundErrornmio2020-02-291-28/+31
|
* remove code used for testingnmio2020-02-271-1/+1
|
* fix unneeded bodynmio2020-02-271-6/+2
|
* fixes and improvementsnmio2020-02-271-23/+49
|
* clean upnmio2020-02-251-7/+2
|
* Initial debugging codenmio2020-02-241-5/+42
|
* Add suggestion for failed path resolutionYoshua Wuyts2020-02-231-1/+1
| | | | This adds https://github.com/rust-analyzer/rust-analyzer/issues/3245 as an inline help text for when path resolution fails.
* More manual clippy fixesKirill Bulatov2020-02-182-30/+39
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-182-2/+2
|
* Simplify the command executionKirill Bulatov2020-02-171-34/+28
|
* Simplify the code furtherKirill Bulatov2020-02-171-45/+35
|
* Idempotent location and installation of rust srcKirill Bulatov2020-02-171-47/+56
|
* Install rust-src when it is not foundKirill Bulatov2020-02-171-8/+31
|
* Make AtomicX type resolve againAleksey Kladov2020-02-141-2/+4
|
* Add error context to failures in `ra_project_model` using `anyhow` crate (#3119)Adam Bratschi-Kaye2020-02-133-20/+56
| | | Add error context to failures in ra_project_model using anyhow crate
* More specific error if `rustc --print sysroot` failsAleksey Kladov2020-02-101-1/+2
|
* Apply the reviews suggestionsKirill Bulatov2020-02-051-13/+30
|
* Add a FIXME noteAleksey Kladov2020-01-301-0/+3
|
* Ignore illform node id from metadataEdwin Cheng2020-01-281-2/+18
|
* Address nitEmil Lauridsen2020-01-102-2/+6
|
* Slightly more robust cargo watcher root searchEmil Lauridsen2020-01-101-1/+1
|
* Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggleAleksey Kladov2020-01-091-2/+12
|\ | | | | Flag to hide cargo.toml not found error
| * Remove unneeded Box::newWilco Kusee2020-01-081-1/+1
| | | | | | Co-Authored-By: Aleksey Kladov <[email protected]>
| * Derive debugWilco Kusee2020-01-081-7/+1
| |
| * Use downcasting for CargoTomlNotFoundErrorWilco Kusee2020-01-084-91/+45
| |
| * Allow disabling Cargo.toml not found errorWilco Kusee2020-01-031-2/+1
| |
| * Move error to new fileWilco Kusee2020-01-032-54/+61
| |
| * Split errors into WorkspaceError enumWilco Kusee2020-01-033-29/+85
| |
* | Better error messageAleksey Kladov2020-01-091-2/+3
|/ | | | closes #2775
* Only add features flags if non-emptyEdwin Cheng2019-12-231-1/+1
|
* Use all-features by defaultAleksey Kladov2019-12-141-1/+7
|
* Support setting cargo featuresoxalica2019-12-132-7/+38
|
* Merge #2381bors[bot]2019-11-243-1/+30
|\ | | | | | | | | | | | | | | | | 2381: Add proc-macro crate type handling r=JasperDeSutter a=JasperDeSutter Resolves the libproc_macro crate in crates that are the proc-macro type. This doesn't seem the ideal implementation though, since the compiler still requires you to write `extern crate proc_macro;` (even in 2018 edition). Co-authored-by: JasperDeSutter <[email protected]>
| * add proc-macro crate type handlingJasperDeSutter2019-11-243-1/+30
| |
* | Add alloc to the sysrootMarco Groppo2019-11-242-0/+10
|/
* Cleanup errorsAleksey Kladov2019-11-221-3/+1
|
* Add support for environment to CrateGraphAleksey Kladov2019-11-221-6/+19
|
* return Error instead of panicking in from_cargo_metadataMetabaron2019-11-121-7/+8
|
* Implement FromStr for enum EditionMetabaron2019-11-121-2/+5
|
* Overwrite the prelude with one defined in a later dependencyMatthias Einwag2019-11-101-0/+2
| | | | | | | This removes the special casing for the "core" prelude. Whenever a later dependency also exports a prelude, it will replace the formerly imported prelude. The utilized prelude then depends purely on import order.
* Resolve core typesMatthias Einwag2019-11-092-1/+11
| | | | | | | | | | | | | | | This adds support for completion and goto definition of types defined within the "core" crate. The core crate is added as a dependency to each crate in the project. The core crate exported it's own prelude. This caused now all crates to inherit the core crates prelude instead of the std crates. In order to avoid the problem the prelude resolution has been changed to overwrite an already resolved prelude if this was set to a crate named core - in order to pick a better prelude like std. Fixes #2199
* hard-code nightly-only CFGsAleksey Kladov2019-10-081-0/+8
|
* use slightly more idiomatic api for cfgAleksey Kladov2019-10-081-13/+23
|
* Use raw cfgs in json project and fix typooxalica2019-10-052-8/+11
|
* Read default cfgs from rustcuHOOCCOOHu2019-10-023-6/+46
|
* Enable CfgOptions `test` for workspace cratesuHOOCCOOHu2019-10-021-3/+18
|