aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge #2039bors[bot]2019-10-212-7/+91
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2039: Guess macro braces from docs r=matklad a=oxalica Instead of hard-code `vec` to have snippet with bracket `vec![]`, we try to find the "most common used brace kind" from documentation of the macro, which usually contains some example code. It also works better with extern macros. We can suggest braces for `thread_local! {}` now. Co-authored-by: oxalica <[email protected]>
| * | | Guess macro braces from docsoxalica2019-10-202-7/+91
| |/ /
* | | Merge #2041bors[bot]2019-10-211-2/+40
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2041: try to warn about old rust r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | try to warn about old rustAleksey Kladov2019-10-211-2/+40
|/ /
* | Merge #2032bors[bot]2019-10-1717-82/+50
|\ \ | | | | | | | | | | | | | | | | | | | | | 2032: rename tools -> xtask r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | rename tools -> xtaskAleksey Kladov2019-10-1711-22/+15
| | |
| * | WIP: move to xtasksAleksey Kladov2019-10-1715-62/+37
|/ /
* | Merge #2031bors[bot]2019-10-178-113/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 2031: scale website back r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | scale website backAleksey Kladov2019-10-178-113/+4
| | | | | | | | | | | | We have dedicated https://rust-analyzer.github.io/ now
* | | Merge #2029bors[bot]2019-10-174-2/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2029: Adds config option for cargo-watch `--ignore` flag r=matklad a=jrvidal I presume this is a nice-to-have to avoid spurious watching. * I don't know much about Windows, so I'm not sure if the extra args need some special escaping. * I suppose we could reuse and/or integrate with `rust-analyzer.excludeGlobs`. I find this simpler, but I'm open to suggestions. Co-authored-by: Roberto Vidal <[email protected]>
| * | | Adds config option for cargo-watch `--ignore` flagRoberto Vidal2019-10-174-2/+22
|/ / /
* | | Merge #2028bors[bot]2019-10-171-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2028: bump proc-macro-hack r=matklad a=kjeremy Might as well Co-authored-by: kjeremy <[email protected]>
| * | | bump proc-macro-hackkjeremy2019-10-171-4/+4
|/ / /
* | | Merge #2027bors[bot]2019-10-179-21/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2027: relative-path 1.0 r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | relative-path 1.0kjeremy2019-10-179-21/+21
|/ / /
* | | Merge #2024bors[bot]2019-10-171-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 2024: Add rust-analyzer.showWorkspaceLoadedNotification to package.json r=matklad a=lnicola Fixes #2016 I still believe the option has no effect, but... Co-authored-by: Laurențiu Nicola <[email protected]>
| * | Add rust-analyzer.showWorkspaceLoadedNotification to package.jsonLaurențiu Nicola2019-10-171-0/+5
| | |
* | | Merge #2025bors[bot]2019-10-176-87/+121
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2025: Bump deps r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | Bump depsLaurențiu Nicola2019-10-176-87/+121
|/ /
* | Merge #2012bors[bot]2019-10-172-2/+77
|\ \ | | | | | | | | | | | | | | | | | | | | | 2012: #1435 postfix completion for integer literals r=matklad a=pasa Fix for #1435 Incorrect postfix completion for integer literals Co-authored-by: Sergey Parilin <[email protected]>
| * | #1435 postfix completion for integer literalsSergey Parilin2019-10-142-2/+77
| | |
* | | Merge #1998bors[bot]2019-10-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998: No need to make config pub r=matklad a=kjeremy Just a drive by Co-authored-by: kjeremy <[email protected]>
| * | | No need to make config pubkjeremy2019-10-111-1/+1
| | | |
* | | | Merge #2020bors[bot]2019-10-163-33/+38
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2020: minor cleanup r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | minor cleanupAleksey Kladov2019-10-163-33/+38
|/ / / /
* | | | Merge #2014bors[bot]2019-10-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014: Update link to api rustdocs r=matklad a=memoryruins Co-authored-by: memoryruins <[email protected]>
| * | | | Update link to api rustdocsmemoryruins2019-10-141-1/+1
|/ / / /
* | | | Merge #2008bors[bot]2019-10-1414-88/+121
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008: Prepare SourceDatabase API for lazy file loading r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-1414-88/+121
| | | | |
* | | | | Merge #2006bors[bot]2019-10-147-50/+49
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006: Improvements around `Arc<[T]>` r=matklad a=sinkuu First commit tries to avoid cloning `Arc<[T]>` to a temporary `Vec` for mutating it, if there are no other strong references. Second commit utilizes [`FromIterator for Arc<[T]>`](https://doc.rust-lang.org/std/sync/struct.Arc.html#impl-FromIterator%3CT%3E) instead of `.collect::<Vec<_>>().into()` to avoid allocation in `From<Vec<T>> for Arc<[T]>`. Co-authored-by: Shotaro Yamada <[email protected]>
| * | | | | make_mut_sliceShotaro Yamada2019-10-144-42/+23
| | | | | |
| * | | | | import make_mut_arc_sliceShotaro Yamada2019-10-141-1/+2
| | | | | |
| * | | | | `.collect()` directly into `Arc<[T]>`Shotaro Yamada2019-10-144-25/+18
| | | | | |
| * | | | | Avoid cloning `Arc<[T]>` into a vec if possibleShotaro Yamada2019-10-145-31/+55
| | |_|/ / | |/| | |
* | | | | Merge #2007bors[bot]2019-10-143-21/+26
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007: remove one more dependency on source roots r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | remove one more dependency on source rootsAleksey Kladov2019-10-143-21/+26
| |/ / /
* | | | Merge #2002bors[bot]2019-10-146-13/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002: Remove unused dependencies r=matklad a=sinkuu Co-authored-by: Shotaro Yamada <[email protected]>
| * | | | Update Cargo.lockShotaro Yamada2019-10-141-0/+1
| | | | |
| * | | | Enable `serde` feature in ra_syntax/Cargo.tomlShotaro Yamada2019-10-141-0/+5
| | | | |
| * | | | Remove unused dependenciesShotaro Yamada2019-10-124-13/+0
| | | | |
| * | | | Remove smol_str dependency from ra_syntaxShotaro Yamada2019-10-112-5/+3
| | |/ / | |/| |
* | | | Merge #1999bors[bot]2019-10-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999: Simplify find().is_some() to any() r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | | use any()kjeremy2019-10-111-1/+1
| |/ / /
* | | | Merge #2000bors[bot]2019-10-141-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 2000: Use correct db type r=matklad a=kjeremy I think this is more correct. No test fallouts. Co-authored-by: kjeremy <[email protected]>
| * | | Use correct db typekjeremy2019-10-111-1/+1
| |/ /
* | | Merge #2005bors[bot]2019-10-124-13/+103
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005: add syntax-tree based indents r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | add syntax-tree based indentsAleksey Kladov2019-10-124-13/+103
|/ / /
* | | Merge #2004bors[bot]2019-10-124-1135/+1192
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 2004: Split up infer.rs further r=flodiebold a=flodiebold - coercion logic goes to `coerce.rs` - expression inference goes to `expr.rs` - pattern inference goes to `pat.rs` Co-authored-by: Florian Diebold <[email protected]>
| * | Split up infer.rs furtherFlorian Diebold2019-10-124-1135/+1192
|/ / | | | | | | | | | | - coercion logic goes to `coerce.rs` - expression inference goes to `expr.rs` - pattern inference goes to `pat.rs`
* | Merge #1989bors[bot]2019-10-112-30/+39
|\ \ | | | | | | | | | | | | | | | | | | | | | 1989: Chalk update to simplified IR r=flodiebold a=kjeremy Co-authored-by: kjeremy <[email protected]>