-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Sync from ra experiment #117544
Commits on Aug 21, 2023
-
extend check.overrideCommand and buildScripts.overrideCommand docs re…
…garding invocation strategy and location
Configuration menu - View commit details
-
Copy full SHA for 940d87b - Browse repository at this point
Copy the full SHA 940d87bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de62be - Browse repository at this point
Copy the full SHA 2de62beView commit details
Commits on Sep 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 23ffda1 - Browse repository at this point
Copy the full SHA 23ffda1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6afa5b0 - Browse repository at this point
Copy the full SHA 6afa5b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b487ed - Browse repository at this point
Copy the full SHA 6b487edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7a8e80 - Browse repository at this point
Copy the full SHA d7a8e80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59738d5 - Browse repository at this point
Copy the full SHA 59738d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83196fd - Browse repository at this point
Copy the full SHA 83196fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91ac1d6 - Browse repository at this point
Copy the full SHA 91ac1d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 455dacf - Browse repository at this point
Copy the full SHA 455dacfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 136a9db - Browse repository at this point
Copy the full SHA 136a9dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e13aed - Browse repository at this point
Copy the full SHA 2e13aedView commit details
Commits on Sep 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ba2e13 - Browse repository at this point
Copy the full SHA 7ba2e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5683df2 - Browse repository at this point
Copy the full SHA 5683df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d24b6 - Browse repository at this point
Copy the full SHA 68d24b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38491fc - Browse repository at this point
Copy the full SHA 38491fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c62571 - Browse repository at this point
Copy the full SHA 9c62571View commit details -
Configuration menu - View commit details
-
Copy full SHA for b316bcc - Browse repository at this point
Copy the full SHA b316bccView commit details -
Configuration menu - View commit details
-
Copy full SHA for a66dbd1 - Browse repository at this point
Copy the full SHA a66dbd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fdf7e4 - Browse repository at this point
Copy the full SHA 2fdf7e4View commit details
Commits on Sep 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 25b1b3e - Browse repository at this point
Copy the full SHA 25b1b3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0863024 - Browse repository at this point
Copy the full SHA 0863024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 893e191 - Browse repository at this point
Copy the full SHA 893e191View commit details -
Configuration menu - View commit details
-
Copy full SHA for 145a101 - Browse repository at this point
Copy the full SHA 145a101View commit details -
Configuration menu - View commit details
-
Copy full SHA for d794865 - Browse repository at this point
Copy the full SHA d794865View commit details -
add tests for insert use with renamed imports
Tested for two cases: 1. Simple Use 2. Complex Use
Configuration menu - View commit details
-
Copy full SHA for df1239b - Browse repository at this point
Copy the full SHA df1239bView commit details
Commits on Sep 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2974416 - Browse repository at this point
Copy the full SHA 2974416View commit details
Commits on Sep 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ebbbaaa - Browse repository at this point
Copy the full SHA ebbbaaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bb2298 - Browse repository at this point
Copy the full SHA 0bb2298View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96c3332 - Browse repository at this point
Copy the full SHA 96c3332View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4704bc - Browse repository at this point
Copy the full SHA f4704bcView commit details
Commits on Sep 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 24b6922 - Browse repository at this point
Copy the full SHA 24b6922View commit details -
Configuration menu - View commit details
-
Copy full SHA for cac796a - Browse repository at this point
Copy the full SHA cac796aView commit details
Commits on Sep 19, 2023
-
This honors the build script config, and is also simpler.
Configuration menu - View commit details
-
Copy full SHA for c372431 - Browse repository at this point
Copy the full SHA c372431View commit details -
Auto merge of rust-lang#15632 - emilio:scip-build-rs, r=lnicola
scip: Use load_workspace_at. This honors the build script config, and is also simpler.
Configuration menu - View commit details
-
Copy full SHA for cdaadb6 - Browse repository at this point
Copy the full SHA cdaadb6View commit details -
Auto merge of rust-lang#15616 - HKalbasi:rustc-deps, r=HKalbasi
Switch to in-tree rustc dependencies with a cfg flag We can use this flag to detect and prevent breakages in rustc CI. (see rust-lang#14846 and rust-lang#15569) ~The `IN_RUSTC_REPOSITORY` is just a placeholder. Is there any existing cfg flag that rustc CI sets?~
Configuration menu - View commit details
-
Copy full SHA for 22b18b9 - Browse repository at this point
Copy the full SHA 22b18b9View commit details -
Do not resolve inlayHint.textEdit for VSCode client
VSCode behaves strangely, allowing to navigate into label location, but not allowing to apply hint's text edit, after hint is resolved. See microsoft/vscode#193124 for details. For now, stub hint resolution for VSCode specifically.
Configuration menu - View commit details
-
Copy full SHA for 1841192 - Browse repository at this point
Copy the full SHA 1841192View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9fac02 - Browse repository at this point
Copy the full SHA f9fac02View commit details -
Auto merge of rust-lang#15635 - SomeoneToIgnore:fix-vscode-edits, r=V…
…eykril Do not resolve inlayHint.textEdit for VSCode client Closes rust-lang/rust-analyzer#15604 VSCode behaves strangely, allowing to navigate into label location, but not allowing to apply hint's text edit, after hint is resolved. See microsoft/vscode#193124 for details. For now, stub hint resolution for VSCode specifically.
Configuration menu - View commit details
-
Copy full SHA for 0427a23 - Browse repository at this point
Copy the full SHA 0427a23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a63255 - Browse repository at this point
Copy the full SHA 3a63255View commit details
Commits on Sep 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4b3257a - Browse repository at this point
Copy the full SHA 4b3257aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00e238e - Browse repository at this point
Copy the full SHA 00e238eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f671b0b - Browse repository at this point
Copy the full SHA f671b0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6212182 - Browse repository at this point
Copy the full SHA 6212182View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b891ca - Browse repository at this point
Copy the full SHA 2b891caView commit details -
Auto merge of rust-lang#15637 - Wilfred:update_chalk, r=lnicola
Update chalk version This only pulls in one commit in Chalk, which is an improvement to inference for rust-analyzer: rust-lang/chalk#800
Configuration menu - View commit details
-
Copy full SHA for 4778255 - Browse repository at this point
Copy the full SHA 4778255View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e11a55 - Browse repository at this point
Copy the full SHA 1e11a55View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd84306 - Browse repository at this point
Copy the full SHA dd84306View commit details -
Auto merge of rust-lang#15621 - kpreid:import, r=Veykril
Give `unmerge_use` a label explaining what it will affect. When I'm trying to clean up `use`s, I often feel uncertain about what exactly the effects of choosing an assist will be. This PR makes a small improvement to that by giving “Unmerge use” a label which names the root of the tree that it's going to move, when one exists. There is no test because I didn't see, among the test helpers, a way to assert on the assist label (as opposed to filtering on it). However, I did test the change manually. I looked into making a similar change to “Merge imports”, but that is considerably trickier.
Configuration menu - View commit details
-
Copy full SHA for d6fef2c - Browse repository at this point
Copy the full SHA d6fef2cView commit details
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 91b012f - Browse repository at this point
Copy the full SHA 91b012fView commit details
Commits on Sep 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 60f7473 - Browse repository at this point
Copy the full SHA 60f7473View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea11846 - Browse repository at this point
Copy the full SHA ea11846View commit details -
Auto merge of rust-lang#15651 - rmehri01:15639_fix_inline_local_closu…
…re, r=lnicola Fix inlining closures from local variables and functions Previously, closures were not properly wrapped in parentheses for the `inline_local_variable` and `inline_call` assists, leading to the usages being incorrectly called: ```rust fn main() { let $0f = || 2; let _ = f(); } ``` Now produces: ```rust fn main() { let _ = (|| 2)(); } ``` Instead of: ```rust fn main() { let _ = || 2(); } ``` Closes rust-lang#15639
Configuration menu - View commit details
-
Copy full SHA for c22bb03 - Browse repository at this point
Copy the full SHA c22bb03View commit details -
Auto merge of rust-lang#15649 - tomalexander:master, r=Veykril
Documentation: Add parenthesis to the list of on-typing assists.
Configuration menu - View commit details
-
Copy full SHA for fccae08 - Browse repository at this point
Copy the full SHA fccae08View commit details -
Auto merge of rust-lang#15615 - shogo-nakano-desu:refactor/fix-clippy…
…-lints, r=Veykril Refactor/fix clippy lints As title says.
Configuration menu - View commit details
-
Copy full SHA for 11ffcc0 - Browse repository at this point
Copy the full SHA 11ffcc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93562dd - Browse repository at this point
Copy the full SHA 93562ddView commit details -
Auto merge of rust-lang#15432 - alibektas:deunwrap/inline_call, r=Vey…
…kril minor : Deunwrap inline call rust-lang#15398 subtask 4. There is still one instance of unwrap, which I found pretty hard to change.
Configuration menu - View commit details
-
Copy full SHA for 2ededa2 - Browse repository at this point
Copy the full SHA 2ededa2View commit details -
Auto merge of rust-lang#15484 - rmehri01:14779_bool_to_enum_assist, r…
…=Veykril feat: Bool to enum assist This adds the `bool_to_enum` assist, which converts the type of boolean local variables, fields, constants and statics to a new `enum` type, making it easier to distinguish the meaning of `true` and `false` by renaming the variants. Closes rust-lang#14779
Configuration menu - View commit details
-
Copy full SHA for df75809 - Browse repository at this point
Copy the full SHA df75809View commit details -
Auto merge of rust-lang#15587 - dfireBird:fix-15128, r=Veykril
Fix autoimport does nothing when importing trait that is as _ imports Potentially fixes rust-lang#15128 There are two cases of imports: 1. With simple path 2. With use tree list (or say complex path). On deeper inspection, the [`recursive_merge`](https://github.com/rust-lang/rust-analyzer/blob/994df3d6a31d39f11600f30a6df0b744b13937c1/crates/ide-db/src/imports/merge_imports.rs#L87) function (called by [`try_merge_trees_mut`)](https://github.com/rust-lang/rust-analyzer/blob/994df3d6a31d39f11600f30a6df0b744b13937c1/crates/ide-db/src/imports/merge_imports.rs#L69) is meaningful only in the case of complex path (i.e when the UseTree contains a UseTreeList). The [`recursive_merge`](https://github.com/rust-lang/rust-analyzer/blob/994df3d6a31d39f11600f30a6df0b744b13937c1/crates/ide-db/src/imports/merge_imports.rs#L87) function has [match with `Ok` arm](https://github.com/rust-lang/rust-analyzer/blob/994df3d6a31d39f11600f30a6df0b744b13937c1/crates/ide-db/src/imports/merge_imports.rs#L106), that is only executed when both LHS and RHS has `PathSegment` with same `NameRef`. The removal of underscore is implemented in this arm in the case of complex path. For simple paths, the underscore is removed by checking if both LHS and RHS are simple paths and if their `Path` is same (the check is done [here](https://github.com/rust-lang/rust-analyzer/blob/994df3d6a31d39f11600f30a6df0b744b13937c1/crates/ide-db/src/imports/merge_imports.rs#L74)) and remove the underscore if one is found (I made an assumption here that RHS will always be what rust-analyzer suggests to import, because at this point I'm not sure how to remove underscore with help of `ted::replace`).
Configuration menu - View commit details
-
Copy full SHA for 5855bd8 - Browse repository at this point
Copy the full SHA 5855bd8View commit details -
Auto merge of rust-lang#15620 - pitaj:no-merges_exclude-titles, r=Vey…
…kril triagebot exclude_labels -> exclude_titles rust-lang/triagebot#1720
Configuration menu - View commit details
-
Copy full SHA for 609bdbc - Browse repository at this point
Copy the full SHA 609bdbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 556f0c6 - Browse repository at this point
Copy the full SHA 556f0c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad536f - Browse repository at this point
Copy the full SHA 8ad536fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 695a134 - Browse repository at this point
Copy the full SHA 695a134View commit details -
Auto merge of rust-lang#15652 - Veykril:format_to, r=lnicola
minor: Various small fixes
Configuration menu - View commit details
-
Copy full SHA for 4a8622c - Browse repository at this point
Copy the full SHA 4a8622cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a91a54 - Browse repository at this point
Copy the full SHA 0a91a54View commit details -
Add a test case to
add_missing_match_arms
Although it doesn't panic now, further changes to how we recover from incomplete syntax may cause this assist to panic. To mitigate this a test case has been added.
Configuration menu - View commit details
-
Copy full SHA for 622e1a8 - Browse repository at this point
Copy the full SHA 622e1a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 132a6ce - Browse repository at this point
Copy the full SHA 132a6ceView commit details -
Auto merge of rust-lang#15594 - alibektas:deunwrap/add_missing_match_…
…arms, r=Veykril Deunwrap add_missing_match_arms Last subtask of rust-lang#15398
Configuration menu - View commit details
-
Copy full SHA for 59bcbaf - Browse repository at this point
Copy the full SHA 59bcbafView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7f2bf - Browse repository at this point
Copy the full SHA ba7f2bfView commit details -
Auto merge of rust-lang#15425 - alibektas:deunwrap/convert_comment_bl…
…ock, r=Veykril minor : Deunwrap convert_comment_block and desugar_doc_comment Closes subtask 13 of rust-lang#15398 . I still don't know a more idiomatic way for the for loops I added, any suggestion would make me happy.
Configuration menu - View commit details
-
Copy full SHA for 8139e8e - Browse repository at this point
Copy the full SHA 8139e8eView commit details -
Auto merge of rust-lang#15492 - RalfJung:invocation, r=Veykril
extend check.overrideCommand and buildScripts.overrideCommand docs Extend check.overrideCommand and buildScripts.overrideCommand docs regarding invocation strategy and location. However something still seems a bit odd -- the docs for `invocationStrategy`/`invocationLocation` talk about "workspaces", but the setting that controls which workspaces are considered is called `linkedProjects`. Is a project the same as a workspace here or is there some subtle difference?
Configuration menu - View commit details
-
Copy full SHA for 2b580a1 - Browse repository at this point
Copy the full SHA 2b580a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc258de - Browse repository at this point
Copy the full SHA fc258deView commit details
Commits on Sep 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9f3d627 - Browse repository at this point
Copy the full SHA 9f3d627View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10fae62 - Browse repository at this point
Copy the full SHA 10fae62View commit details
Commits on Sep 24, 2023
-
Auto merge of rust-lang#15582 - vxpm:master, r=HKalbasi
add option to show full function signatures in completion docs implements rust-lang#15538 with `"rust-analyzer.completion.fullFunctionSignatures.enable": false`: ![image](https://github.com/rust-lang/rust-analyzer/assets/59714841/ff739ad1-9975-461f-a62d-22c7823e7b71) with `"rust-analyzer.completion.fullFunctionSignatures.enable": true`: ![image](https://github.com/rust-lang/rust-analyzer/assets/59714841/9bc98300-cef6-44ef-a353-dcf35cd36fce)
Configuration menu - View commit details
-
Copy full SHA for e5e937a - Browse repository at this point
Copy the full SHA e5e937aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7834b8f - Browse repository at this point
Copy the full SHA 7834b8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab52ba2 - Browse repository at this point
Copy the full SHA ab52ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 588c7d9 - Browse repository at this point
Copy the full SHA 588c7d9View commit details -
Auto merge of rust-lang#15660 - DaniPopes:hover-simple-refactor, r=HK…
…albasi minor: hover_simple refactor A minor refactor of `hover_simple` opportunity I noticed while skimming through the code. - `if let`s -> `match` - `iter::once(x).cycle` -> `iter::repeat` - `classify_token` -> `classify_node`
Configuration menu - View commit details
-
Copy full SHA for 862a300 - Browse repository at this point
Copy the full SHA 862a300View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7306504 - Browse repository at this point
Copy the full SHA 7306504View commit details
Commits on Sep 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 963ba59 - Browse repository at this point
Copy the full SHA 963ba59View commit details -
Auto merge of rust-lang#15659 - HKalbasi:unused-var, r=HKalbasi
Add `unused_variables` native diagnostic
Configuration menu - View commit details
-
Copy full SHA for 972a19f - Browse repository at this point
Copy the full SHA 972a19fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f64eecd - Browse repository at this point
Copy the full SHA f64eecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85ead6e - Browse repository at this point
Copy the full SHA 85ead6eView commit details -
Auto merge of rust-lang#15665 - Milo123459:milo/remove-unwraps, r=lni…
…cola internal: De-`unwrap` `generate_function.rs` Fixes rust-lang/rust-analyzer#15398 (comment) cc `@Inicola`
Configuration menu - View commit details
-
Copy full SHA for d3cc3bc - Browse repository at this point
Copy the full SHA d3cc3bcView commit details
Commits on Sep 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bce4be9 - Browse repository at this point
Copy the full SHA bce4be9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73150c3 - Browse repository at this point
Copy the full SHA 73150c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca48d9 - Browse repository at this point
Copy the full SHA 6ca48d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dbde71 - Browse repository at this point
Copy the full SHA 0dbde71View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0fe99f - Browse repository at this point
Copy the full SHA b0fe99fView commit details -
Auto merge of rust-lang#15663 - chenx97:libc-148, r=Veykril
minor: update libc to 0.2.148 This update is a follow-up for [rust-lang#112374](rust-lang#112374). The command that does this update: `cargo update -p libc`
Configuration menu - View commit details
-
Copy full SHA for c945f90 - Browse repository at this point
Copy the full SHA c945f90View commit details -
Auto merge of rust-lang#15662 - rmehri01:fix_panic_with_return_in_mat…
…ch, r=Veykril fix: panic with wrapping/unwrapping result return type assists With the `wrap_return_type_in_result` assist, the following code results in a panic (note the lack of a semicolon): ```rust fn foo(num: i32) -> $0i32 { return num } => thread 'handlers::wrap_return_type_in_result::tests::wrap_return_in_tail_position' panicked at crates/syntax/src/ted.rs:137:41: called `Option::unwrap()` on a `None` value ``` I think this is because it first walks the body expression to change any `return` expressions and then walks all tail expressions, resulting in the `return num` being changed twice since it is both a `return` and in tail position. This can also happen when a `match` is in tail position and `return` is used in a branch for example. Not really sure how big of an issue this is in practice though since this seems to be the only case that is impacted and can be reduced to just `num` instead of `return num`. This also occurs with the `unwrap_result_return_type` assist but panics with the following instead: ``` thread 'handlers::unwrap_result_return_type::tests::wrap_return_in_tail_position' panicked at /rustc/3223b0b5e8dadda3f76c3fd1a8d6c5addc09599e/library/alloc/src/string.rs:1766:29: assertion failed: self.is_char_boundary(n) ```
Configuration menu - View commit details
-
Copy full SHA for 3b1b58c - Browse repository at this point
Copy the full SHA 3b1b58cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c907e1 - Browse repository at this point
Copy the full SHA 6c907e1View commit details
Commits on Sep 27, 2023
-
Update editors/code/package.json
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5b04a7d - Browse repository at this point
Copy the full SHA 5b04a7dView commit details -
Auto merge of rust-lang#15672 - veber-alex:useRustcErrorCode_descript…
…io, r=lnicola Improve useRustcErrorCode description Fixes rust-lang#15666
Configuration menu - View commit details
-
Copy full SHA for f93b6ac - Browse repository at this point
Copy the full SHA f93b6acView commit details
Commits on Sep 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2b9dde1 - Browse repository at this point
Copy the full SHA 2b9dde1View commit details -
Auto merge of rust-lang#15677 - Veykril:param-ast-id, r=Veykril
Allocate ast ids for parameters Since these can have attributes attached to them, we'll need this sooner or later (sooner being me tinkering with the token map right now)
Configuration menu - View commit details
-
Copy full SHA for b3f4574 - Browse repository at this point
Copy the full SHA b3f4574View commit details -
scip: Allow customizing cargo config.
Re-use the LSP config json for simplicity.
Configuration menu - View commit details
-
Copy full SHA for 791e6c8 - Browse repository at this point
Copy the full SHA 791e6c8View commit details -
Auto merge of rust-lang#15633 - emilio:scip-cargo-config, r=lnicola
scip: Allow customizing cargo config. Re-use the LSP config json for simplicity.
Configuration menu - View commit details
-
Copy full SHA for f19479a - Browse repository at this point
Copy the full SHA f19479aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b3e5b2 - Browse repository at this point
Copy the full SHA 1b3e5b2View commit details
Commits on Sep 29, 2023
-
Auto merge of rust-lang#15667 - rmehri01:bool_to_enum_top_level, r=Ve…
…ykril fix: make bool_to_enum assist create enum at top-level This pr makes the `bool_to_enum` assist create the `enum` at the next closest module block or at top-level, which fixes a few tricky cases such as with an associated `const` in a trait or module: ```rust trait Foo { const $0BOOL: bool; } impl Foo for usize { const BOOL: bool = true; } fn main() { if <usize as Foo>::BOOL { println!("foo"); } } ``` Which now properly produces: ```rust #[derive(PartialEq, Eq)] enum Bool { True, False } trait Foo { const BOOL: Bool; } impl Foo for usize { const BOOL: Bool = Bool::True; } fn main() { if <usize as Foo>::BOOL == Bool::True { println!("foo"); } } ``` I also think it's a bit nicer, especially for local variables, but didn't really know to do it in the first PR :)
Configuration menu - View commit details
-
Copy full SHA for 87e2c31 - Browse repository at this point
Copy the full SHA 87e2c31View commit details -
Configuration menu - View commit details
-
Copy full SHA for a382e64 - Browse repository at this point
Copy the full SHA a382e64View commit details -
Auto merge of rust-lang#15682 - Veykril:param-list-recov, r=Veykril
Recover better on missing parameter in param list We should do the same for argument lists, but that is more tricky to fix.
Configuration menu - View commit details
-
Copy full SHA for 50678e0 - Browse repository at this point
Copy the full SHA 50678e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfeff9f - Browse repository at this point
Copy the full SHA dfeff9fView commit details -
Auto merge of rust-lang#15686 - Veykril:param-list-recov, r=Veykril
Only run tests on linux in pull requests There is little gain from running them on all platforms, they should almost never fail if the linux one pass and if they do, bors will catch it still.
Configuration menu - View commit details
-
Copy full SHA for 1752178 - Browse repository at this point
Copy the full SHA 1752178View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53f5c1c - Browse repository at this point
Copy the full SHA 53f5c1cView commit details -
Auto merge of rust-lang#15680 - DaniPopes:regenerate-lints, r=Veykril
internal: re-generate lints.rs Looks like this hasn't been run in a while
Configuration menu - View commit details
-
Copy full SHA for e478db7 - Browse repository at this point
Copy the full SHA e478db7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a943b19 - Browse repository at this point
Copy the full SHA a943b19View commit details -
Auto merge of rust-lang#15688 - Veykril:rustc_layout_scalar_valid_ran…
…ge, r=Veykril Make rustc_layout_scalar_valid_range attributes work for non-decimal literals Closes rust-lang/rust-analyzer#15687
Configuration menu - View commit details
-
Copy full SHA for 547bcf8 - Browse repository at this point
Copy the full SHA 547bcf8View commit details -
vscode: Fix line and col regexp for problem matcher
When building the Rust compiler with `./x check` from within VS Code, the current `rustc` problem matcher thinks that the output from that command that looks like this: Build completed successfully in 0:00:26 is about a problem in a file named `0` on line 00, col 26. This wouldn't be so bad if it wasn't for that VS Code tends to get stuck on this problem because of problems with opening the file '0'. The rust compiler will never output problems with a line or a column that starts with 0, so change the regexp to require lines and cols to begin with [1-9] to fix this problem.
Configuration menu - View commit details
-
Copy full SHA for dd8ea97 - Browse repository at this point
Copy the full SHA dd8ea97View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5d74d - Browse repository at this point
Copy the full SHA ae5d74dView commit details -
Auto merge of rust-lang#15692 - Veykril:underscore-completions, r=Vey…
…kril fix: Typing underscore should not trigger completions in types or patterns
Configuration menu - View commit details
-
Copy full SHA for 4791a5d - Browse repository at this point
Copy the full SHA 4791a5dView commit details
Commits on Sep 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for af28458 - Browse repository at this point
Copy the full SHA af28458View commit details -
Auto merge of rust-lang#15693 - HKalbasi:unused-var, r=HKalbasi
Downgrade `unused_variables` to experimental I feel problems like rust-lang#15679 are common.
Configuration menu - View commit details
-
Copy full SHA for 0840038 - Browse repository at this point
Copy the full SHA 0840038View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f80e2 - Browse repository at this point
Copy the full SHA 40f80e2View commit details
Commits on Oct 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2611fbf - Browse repository at this point
Copy the full SHA 2611fbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 146a7cc - Browse repository at this point
Copy the full SHA 146a7ccView commit details
Commits on Oct 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 34d3490 - Browse repository at this point
Copy the full SHA 34d3490View commit details -
Configuration menu - View commit details
-
Copy full SHA for 084ee93 - Browse repository at this point
Copy the full SHA 084ee93View commit details -
Auto merge of rust-lang#15701 - lnicola:rustc_layout_scalar_valid_ran…
…ge2, r=lnicola fix: strip base prefix in `layout_scalar_valid_range` CC https://github.com/rust-lang/rust-analyzer/pull/15688/files#r1342311078
Configuration menu - View commit details
-
Copy full SHA for d7faec8 - Browse repository at this point
Copy the full SHA d7faec8View commit details -
Auto merge of rust-lang#15698 - rmehri01:15695_make_guarded_return_mo…
…re_lenient, r=Veykril fix: allow more kinds of if let patterns in guarded return assist Removes the checks that require the pattern to be a tuple struct with exactly 1 field that is unqualified and has an identifier pattern in it. I'm not sure if there should be more checks in place but they seem unnecessary now? Closes rust-lang#15695
Configuration menu - View commit details
-
Copy full SHA for 4c9d2c7 - Browse repository at this point
Copy the full SHA 4c9d2c7View commit details
Commits on Oct 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7c113ee - Browse repository at this point
Copy the full SHA 7c113eeView commit details -
Auto merge of rust-lang#15706 - lnicola:rustc-dependencies-descriptio…
…n, r=lnicola minor: Add mock description to rustc-dependencies Hopefully fixes auto-publishing.
Configuration menu - View commit details
-
Copy full SHA for 7b8330f - Browse repository at this point
Copy the full SHA 7b8330fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8ec77d - Browse repository at this point
Copy the full SHA a8ec77dView commit details
Commits on Oct 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe39816 - Browse repository at this point
Copy the full SHA fe39816View commit details -
Auto merge of rust-lang#15709 - Veykril:runnables-custom-main, r=Veykril
fix: Recognize custom main function as binary entrypoint for runnables
Configuration menu - View commit details
-
Copy full SHA for 36be913 - Browse repository at this point
Copy the full SHA 36be913View commit details -
Configuration menu - View commit details
-
Copy full SHA for c266387 - Browse repository at this point
Copy the full SHA c266387View commit details -
Auto merge of rust-lang#15700 - rmehri01:15694_iterator_demorgan, r=V…
…eykril feat: add assist for applying De Morgan's law to `Iterator::all` and `Iterator::any` This PR adds an assist for transforming expressions of the form `!iter.any(|x| predicate(x))` into `iter.all(|x| !predicate(x))` and vice versa. [IteratorDeMorgans.webm](https://github.com/rust-lang/rust-analyzer/assets/52933714/aad1a299-6620-432b-9106-aafd2a7fa9f5) Closes rust-lang#15694
Configuration menu - View commit details
-
Copy full SHA for 7e9da40 - Browse repository at this point
Copy the full SHA 7e9da40View commit details -
Auto merge of rust-lang#15690 - Enselic:fix-regexp, r=Veykril
vscode: Fix line and col regexp for `rustc` problem matcher When building the Rust compiler with `./x check` from within VS Code, the current `rustc` problem matcher thinks that the output from that command that looks like this: Build completed successfully in 0:00:26 is about a problem in a file named `0` on line 00, col 26. This wouldn't be so bad if it wasn't for that VS Code tends to get stuck on this problem because of problems with opening the file '0'. The rust compiler will never output problems with a line or a column that starts with 0, so change the regexp to require lines and cols to begin with `[1-9]` to fix this problem.
Configuration menu - View commit details
-
Copy full SHA for ad73597 - Browse repository at this point
Copy the full SHA ad73597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba8dbc - Browse repository at this point
Copy the full SHA 9ba8dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab091b7 - Browse repository at this point
Copy the full SHA ab091b7View commit details -
Auto merge of rust-lang#15707 - dfireBird:default-statusbar-action-co…
…nfig, r=lnicola Add configuration for the default action of the status bar click action in VSCode Fixes rust-lang#15441 Please suggest any changes if necessary.
Configuration menu - View commit details
-
Copy full SHA for b57658d - Browse repository at this point
Copy the full SHA b57658dView commit details
Commits on Oct 5, 2023
-
Auto merge of rust-lang#15641 - alibektas:15598/fix_into_to_from, r=V…
…eykril fix: preceding QualifiedPathType for into_to_from assist fixes rust-lang#15598
Configuration menu - View commit details
-
Copy full SHA for 695c612 - Browse repository at this point
Copy the full SHA 695c612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4af730e - Browse repository at this point
Copy the full SHA 4af730eView commit details -
Signed-off-by: cui fliter <imcusg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 58239f2 - Browse repository at this point
Copy the full SHA 58239f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7295ff - Browse repository at this point
Copy the full SHA e7295ffView commit details -
Auto merge of rust-lang#15668 - connorskees:feat/close-backtick, r=Ve…
…ykril feat: add backtick to surrounding and auto-closing pairs Makes backticks always complete as a pair and also surround the current selection, similar to double quotes. This is useful primarily in the context of markdown doc comments, but is applied globally for simplicity. Closes rust-lang/rust-analyzer#11381
Configuration menu - View commit details
-
Copy full SHA for 54866a0 - Browse repository at this point
Copy the full SHA 54866a0View commit details -
Auto merge of rust-lang#15712 - cuishuang:master, r=lnicola
minor: Remove repetitive words
Configuration menu - View commit details
-
Copy full SHA for fd39a30 - Browse repository at this point
Copy the full SHA fd39a30View commit details -
Auto merge of rust-lang#15714 - lnicola:rust-bors, r=lnicola
minor: Prepare for rust-bors This [only works](https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/testing.20new.20bors.20implementation/near/395026488) for try builds at the moment, unfortunately.
Configuration menu - View commit details
-
Copy full SHA for 03c5603 - Browse repository at this point
Copy the full SHA 03c5603View commit details
Commits on Oct 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 114f8a0 - Browse repository at this point
Copy the full SHA 114f8a0View commit details -
Auto merge of rust-lang#15718 - Toby222:master, r=lnicola
Fix typos exec_intrinsic Fix names of intrinsics in error messages from exec_intrinsic (moved from rust-lang#116478)
Configuration menu - View commit details
-
Copy full SHA for a158670 - Browse repository at this point
Copy the full SHA a158670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88a00bf - Browse repository at this point
Copy the full SHA 88a00bfView commit details -
Auto merge of rust-lang#15721 - Veykril:shrink-pat-ptr, r=Veykril
Shrink PatPtr by swapping its AstPtr and Either wrap order Will have neglible perf results I imagine, but it cleans up some code
Configuration menu - View commit details
-
Copy full SHA for ef58843 - Browse repository at this point
Copy the full SHA ef58843View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3ebc9a - Browse repository at this point
Copy the full SHA b3ebc9aView commit details -
Auto merge of rust-lang#15600 - davidbarsky:davidbarsky/broken-rustfm…
…t-in-ra, r=Veykril fix: ensure `rustfmt` runs when configured with `./` (Hopefully) resolves rust-lang/rust-analyzer#15595. This change kinda approaches canonicalization—which I am not a fan of—but only in service of making `./`-configured commands run correctly. Longer-term, I feel like this code should be removed once `rustfmt` supports recursive searches of configuration files or interpolation of values like `${workspace_folder}` lands in rust-analyzer. ## Testing I cloned `rustc`, setup rust-analyzer as suggested in the [`rustc` dev guide](https://rustc-dev-guide.rust-lang.org/building/suggested.html#configuring-rust-analyzer-for-rustc), saved and formatted files in `src/tools/miri` and `compiler`, and saw `rustfmt` (seemingly) correctly.
Configuration menu - View commit details
-
Copy full SHA for b1f89a8 - Browse repository at this point
Copy the full SHA b1f89a8View commit details
Commits on Oct 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c5d9bfa - Browse repository at this point
Copy the full SHA c5d9bfaView commit details
Commits on Oct 8, 2023
-
Use vscode.env.openExternal instead of the vscode.open command for docs
According to the VS Code documentation, the vscode.open command opens the URL _in the editor_ (https://code.visualstudio.com/api/references/commands). However, in reality, it seems to do so only for file:// URLs, falling back to other applications for other URL schemes (at least for HTTP/HTTPS). Until now, the URL to the documentation was always HTTP based, so using the vscode.open command was perfectly fine. However, displaying local documentation will be supported from now on (see next commit). Local documentation is not HTTP-based, but instead addressed via a file:// URL. The file URL would therefore be opened in VS Code instead of in the browser — this is definitely not what the user wants. Therefore, the vscode.env.openExternal function is used instead, this function never opens the URL in VS Code.
Configuration menu - View commit details
-
Copy full SHA for 3dfc1bf - Browse repository at this point
Copy the full SHA 3dfc1bfView commit details
Commits on Oct 9, 2023
-
Auto merge of rust-lang#15725 - DaniPopes:fix-lintgen, r=Veykril
internal: fix automatic rustc/rustdoc lint generation Missed in rust-lang#15680: the output of `-Whelp` changed since the last run so it generated some bad rustdoc lints entries. Also preemptively fix a `-Whelp` breakage that might get merged in rust-lang#116412
Configuration menu - View commit details
-
Copy full SHA for 7e9b25b - Browse repository at this point
Copy the full SHA 7e9b25bView commit details -
Add config option to use
rust-analyzer
specific target dirAdds a Rust Analyzer configuration option to set a custom target directory for builds. This is a workaround for Rust Analyzer blocking debug builds while running `cargo check`. This change should close rust-lang#6007
Configuration menu - View commit details
-
Copy full SHA for aeef7b6 - Browse repository at this point
Copy the full SHA aeef7b6View commit details -
Add dedicated
target_dir
field toCargoConfig
andFlycheckConfig
Add dedicated field for `target_dir` in the configurations for Cargo and Flycheck. Also change the directory to be a `PathBuf` as opposed to a `String` to be more appropriate to the operating system.
Configuration menu - View commit details
-
Copy full SHA for 53b6700 - Browse repository at this point
Copy the full SHA 53b6700View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef0b3bb - Browse repository at this point
Copy the full SHA ef0b3bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3682c37 - Browse repository at this point
Copy the full SHA 3682c37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2290cc3 - Browse repository at this point
Copy the full SHA 2290cc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9771e1e - Browse repository at this point
Copy the full SHA 9771e1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a39d207 - Browse repository at this point
Copy the full SHA a39d207View commit details -
Auto merge of rust-lang#15681 - Tyrubias:custom_target_dir, r=Veykril
Add config option to use `rust-analyzer` specific target dir Adds a Rust Analyzer configuration option to set a custom target directory for builds. This is a workaround for Rust Analyzer blocking debug builds while running `cargo check`. This change should close rust-lang#6007. This is my first time contributing to this project, so any feedback regarding best practices that I'm not aware of are greatly appreciated! Thanks to all the maintainers for their hard work on this project and reviewing contributions.
Configuration menu - View commit details
-
Copy full SHA for d646ae8 - Browse repository at this point
Copy the full SHA d646ae8View commit details -
Auto merge of rust-lang#15713 - Veykril:flyimport-completions-short, …
…r=Veykril Do flyimport completions by prefix search for short paths Fixes rust-lang/rust-analyzer#15711
Configuration menu - View commit details
-
Copy full SHA for dca63d1 - Browse repository at this point
Copy the full SHA dca63d1View commit details -
Auto merge of rust-lang#15696 - rmehri01:14293_tuple_return_type_to_s…
…truct, r=Veykril feat: implement tuple return type to tuple struct assist This PR implements the `convert_tuple_return_type_to_struct` assist, for converting the return type of a function or method from a tuple to a tuple struct. Additionally, it moves the `to_camel_case` and `char_has_case` functions from `case_conv` to `stdx` so that they can be used similar to `to_lower_snake_case`. [tuple_return_type_to_tuple_struct.webm](https://github.com/rust-lang/rust-analyzer/assets/52933714/2803ff58-fde3-4144-9495-7c7c7e139075) Currently, the assist puts the struct definition above the function, or above the nearest `impl` or `trait` if applicable and only rewrites literal tuples that are returned in the body of the function. Additionally, it only attempts to rewrite simple tuple pattern usages with the corresponding tuple struct pattern but does so across files and modules. I think that this is sufficient for the majority of use cases but I could be wrong. One thing I'm still not sure how to approach is handling `Self` and generics/lifetimes in the tuple type to be extracted. I was thinking of either manually figuring out what lifetimes and generics are in scope and using them (sort of similar to the `generate_function` assist) or maybe using `ctx.sema.resolve_type` and `generic_params` on `hir::Type` but this seems to not deal with lifetimes. Closes rust-lang#14293
Configuration menu - View commit details
-
Copy full SHA for ab62c01 - Browse repository at this point
Copy the full SHA ab62c01View commit details -
Auto merge of rust-lang#15618 - shogo-nakano-desu:internal/port-anyma…
…p, r=Veykril internal: port anymap ## Description - The anymap crate has been ported. During this process, unnecessary features for rust-analyzer have been removed. - From the tests that were checking the existing licenses, the anymap license (`BlueOak-1.0.0 OR MIT OR Apache-2.0`) has been removed. ## Requests - While porting the code this time, I have tried to respect the original author's intentions and have kept the comments/codes as much as possible. Please don't hesitate to tell me if you think the comments/codes also need to be appropriately modified. - If there are any necessary changes regarding the licensing or anything else, please let me know so I can fix them. ## Issue rust-lang/rust-analyzer#15500
Configuration menu - View commit details
-
Copy full SHA for aaa1e8e - Browse repository at this point
Copy the full SHA aaa1e8eView commit details -
vscode: Support opening local documentation if available
Displaying local instead of web docs can have many benefits: - the web version may have different features enabled than locally selected - the standard library may be a different version than is available online - the user may not be online and therefore cannot access the web documentation - the documentation may not be available online at all, for example because it is for a new feature in a library the user is currently developing If the documentation is not available locally, the extension still falls back to the web version.
Configuration menu - View commit details
-
Copy full SHA for e8372e0 - Browse repository at this point
Copy the full SHA e8372e0View commit details
Commits on Oct 10, 2023
-
Auto merge of rust-lang#15728 - EliasHolzmann:feature/local_documenta…
…tion_vscode, r=Veykril feat: vscode: Support opening local documentation if available This PR implements the VS code support for opening local documentation (server side support was already implemented in rust-lang#14662). [local_docs.webm](https://github.com/rust-lang/rust-analyzer/assets/9659253/715b84dd-4f14-4ba0-a904-749b847eb3d5) Displaying local instead of web docs can have many benefits: - the web version may have different features enabled than locally selected - the standard library may be a different version than is available online - the user may not be online and therefore cannot access the web documentation - the documentation may not be available online at all, for example because it is for a new feature in a library the user is currently developing If the documentation is not available locally, the extension still falls back to the web version. Closes rust-lang#12867. ----- If my implementation isn't really idiomatic TypeScript: Sorry, I'm not much of a TypeScript developer. I am open to feedback, however.
Configuration menu - View commit details
-
Copy full SHA for 8a23314 - Browse repository at this point
Copy the full SHA 8a23314View commit details
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a7fada4 - Browse repository at this point
Copy the full SHA a7fada4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fe6ac8 - Browse repository at this point
Copy the full SHA 1fe6ac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f58a825 - Browse repository at this point
Copy the full SHA f58a825View commit details -
Auto merge of rust-lang#15744 - pvalletbo:15395/character-byte-litera…
…ls-diagnose, r=Veykril fix: add diagnostics messages for chars and byte literal errors This PR adds error messages for different invalid byte or character literals. Fixes rust-lang#15395
Configuration menu - View commit details
-
Copy full SHA for c387361 - Browse repository at this point
Copy the full SHA c387361View commit details -
Configuration menu - View commit details
-
Copy full SHA for 677e6f3 - Browse repository at this point
Copy the full SHA 677e6f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1aeb7f - Browse repository at this point
Copy the full SHA e1aeb7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e713a7 - Browse repository at this point
Copy the full SHA 2e713a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b769f34 - Browse repository at this point
Copy the full SHA b769f34View commit details -
Auto merge of rust-lang#15745 - osiewicz:add-zed-to-ide-list, r=lnicola
docs: Add Zed to IDE list.
Configuration menu - View commit details
-
Copy full SHA for 7eec17e - Browse repository at this point
Copy the full SHA 7eec17eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b281ff - Browse repository at this point
Copy the full SHA 4b281ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6845c80 - Browse repository at this point
Copy the full SHA 6845c80View commit details
Commits on Oct 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3605bb3 - Browse repository at this point
Copy the full SHA 3605bb3View commit details -
Auto merge of rust-lang#15743 - Young-Flash:replace_is_some_with_if_l…
…et_some, r=HKalbasi add replace_is_some_with_if_let_some assist This is a basic impl, if it is ok, `if my_result.is_ok()`-> `if let Ok(_x) = my_result `will be add next. close rust-lang/rust-analyzer#12977
Configuration menu - View commit details
-
Copy full SHA for 84e1d27 - Browse repository at this point
Copy the full SHA 84e1d27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 506b1e5 - Browse repository at this point
Copy the full SHA 506b1e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bbca22 - Browse repository at this point
Copy the full SHA 5bbca22View commit details
Commits on Oct 13, 2023
-
Auto merge of rust-lang#15752 - Young-Flash:replace_is_method_with_if…
…_let_method, r=HKalbasi feat: add replace_is_ok_with_if_let_ok assist following rust-lang/rust-analyzer#15743
Configuration menu - View commit details
-
Copy full SHA for 862693f - Browse repository at this point
Copy the full SHA 862693fView commit details
Commits on Oct 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bc34e8f - Browse repository at this point
Copy the full SHA bc34e8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4368a - Browse repository at this point
Copy the full SHA 3f4368aView commit details -
Auto merge of rust-lang#15756 - harpsword:fix_typo_in_mbe_lib, r=lnicola
fix typo in mbe/lib.rs comment fix typo in mbe/lib.rs comment
Configuration menu - View commit details
-
Copy full SHA for 16ac6c2 - Browse repository at this point
Copy the full SHA 16ac6c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8217ff9 - Browse repository at this point
Copy the full SHA 8217ff9View commit details -
Auto merge of rust-lang#15760 - ChristianSchott:master, r=HKalbasi
make mir::ProjectionStore-impls pub-accessible When using RA as a crate the `mir::Place` `projection` is accessible, however there is no way to translate the `ProjectionId` to a `&[PlaceElem]`, as the `ProjectionId::lookup` is private. Personally, I would only need the `ProjectionId::lookup`-fn to be `pub`, but I don't see any reason why the others should be kept private.. am I missing something `@HKalbasi` ? Relates to: rust-lang/rust-analyzer#15575
Configuration menu - View commit details
-
Copy full SHA for dbe5392 - Browse repository at this point
Copy the full SHA dbe5392View commit details
Commits on Oct 15, 2023
-
Auto merge of rust-lang#15755 - Young-Flash:cursor_selection, r=lnicola
fix: make cursor select at _tmp Here make cursor select at `_tmp` atuomatically after the assist apply. Refer to [vscode snippet placeholder](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_placeholders). ![cursor_selection](https://github.com/rust-lang/rust-analyzer/assets/71162630/a7866efe-2d54-488b-903e-9df039f34a7e) following rust-lang/rust-analyzer#15752
Configuration menu - View commit details
-
Copy full SHA for 65532e4 - Browse repository at this point
Copy the full SHA 65532e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d33fd15 - Browse repository at this point
Copy the full SHA d33fd15View commit details -
Auto merge of rust-lang#15762 - Veykril:metrics-deploy, r=Veykril
fix: Fix metrics workflow to use deploy key I think this should be correct
Configuration menu - View commit details
-
Copy full SHA for a8581aa - Browse repository at this point
Copy the full SHA a8581aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40acc52 - Browse repository at this point
Copy the full SHA 40acc52View commit details -
Auto merge of rust-lang#15691 - Veykril:rustc_abi, r=Veykril
Update rustc_abi dependency cc rust-lang#116269
Configuration menu - View commit details
-
Copy full SHA for 6572ec8 - Browse repository at this point
Copy the full SHA 6572ec8View commit details -
Emacs 29 is now released, and include an example of enabling clippy.
Configuration menu - View commit details
-
Copy full SHA for 03bec11 - Browse repository at this point
Copy the full SHA 03bec11View commit details
Commits on Oct 16, 2023
-
Auto merge of rust-lang#15764 - Wilfred:emacs_docs, r=lnicola
Expand Emacs documentation Emacs 29 is now released, and include an example of enabling clippy.
Configuration menu - View commit details
-
Copy full SHA for 983094a - Browse repository at this point
Copy the full SHA 983094aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 222be48 - Browse repository at this point
Copy the full SHA 222be48View commit details -
Auto merge of rust-lang#15769 - lnicola:metrics-ssh, r=lnicola
internal: Create `~/.ssh` before writing deploy key
Configuration menu - View commit details
-
Copy full SHA for 03f676e - Browse repository at this point
Copy the full SHA 03f676eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 490cdfe - Browse repository at this point
Copy the full SHA 490cdfeView commit details -
Auto merge of rust-lang#15770 - lnicola:metrics-url, r=lnicola
internal: Fix metrics repo url
Configuration menu - View commit details
-
Copy full SHA for 2910dbf - Browse repository at this point
Copy the full SHA 2910dbfView commit details -
Auto merge of rust-lang#15746 - pvalletbo:string-literals-diagnose, r…
…=Veykril String literals diagnose Continues the work from rust-lang#15744 to add diagnosis errors to Str, ByteStr, and CStr literal kinds. Also replaces `unescape_char` for `unescape_byte` to use the correct method for Byte literals.
Configuration menu - View commit details
-
Copy full SHA for d6afb4f - Browse repository at this point
Copy the full SHA d6afb4fView commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 520aad1 - Browse repository at this point
Copy the full SHA 520aad1View commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 23f9077 - Browse repository at this point
Copy the full SHA 23f9077View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2227d28 - Browse repository at this point
Copy the full SHA 2227d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2bd911 - Browse repository at this point
Copy the full SHA a2bd911View commit details