Skip to content
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

Closed
wants to merge 198 commits into from

Commits on Aug 21, 2023

  1. extend check.overrideCommand and buildScripts.overrideCommand docs re…

    …garding invocation strategy and location
    RalfJung committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    940d87b View commit details
    Browse the repository at this point in the history
  2. projects/workspaces

    RalfJung committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    2de62be View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. full function signatures option

    vxpm committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    23ffda1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6afa5b0 View commit details
    Browse the repository at this point in the history
  3. fix & run tests

    vxpm committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    6b487ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7a8e80 View commit details
    Browse the repository at this point in the history
  5. fix: add generated doctest

    rmehri01 committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    59738d5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    83196fd View commit details
    Browse the repository at this point in the history
  7. fix: initializing struct multiple times

    Ryan Mehri authored and rmehri01 committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    91ac1d6 View commit details
    Browse the repository at this point in the history
  8. fix: only trigger assist on Name

    Ryan Mehri authored and rmehri01 committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    455dacf View commit details
    Browse the repository at this point in the history
  9. style: rename some locals

    Ryan Mehri authored and rmehri01 committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    136a9db View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2e13aed View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

  1. Configuration menu
    Copy the full SHA
    7ba2e13 View commit details
    Browse the repository at this point in the history
  2. Deunwrap inline call

    alibektas committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    5683df2 View commit details
    Browse the repository at this point in the history
  3. Deunwrap inline call v2

    alibektas committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    68d24b6 View commit details
    Browse the repository at this point in the history
  4. v3

    alibektas committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    38491fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c62571 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b316bcc View commit details
    Browse the repository at this point in the history
  7. v2

    alibektas committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    a66dbd1 View commit details
    Browse the repository at this point in the history
  8. v3

    alibektas committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    2fdf7e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Configuration menu
    Copy the full SHA
    25b1b3e View commit details
    Browse the repository at this point in the history
  2. Make assist lazy again

    alibektas committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    0863024 View commit details
    Browse the repository at this point in the history
  3. Make assist lazy again

    alibektas committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    893e191 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    145a101 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d794865 View commit details
    Browse the repository at this point in the history
  6. add tests for insert use with renamed imports

    Tested for two cases:
    1. Simple Use
    2. Complex Use
    dfireBird committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    df1239b View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    2974416 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    ebbbaaa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bb2298 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96c3332 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4704bc View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. Configuration menu
    Copy the full SHA
    24b6922 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cac796a View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. scip: Use load_workspace_at.

    This honors the build script config, and is also simpler.
    emilio committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    c372431 View commit details
    Browse the repository at this point in the history
  2. 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.
    bors committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    cdaadb6 View commit details
    Browse the repository at this point in the history
  3. 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?~
    bors committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    22b18b9 View commit details
    Browse the repository at this point in the history
  4. 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.
    SomeoneToIgnore committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    1841192 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9fac02 View commit details
    Browse the repository at this point in the history
  6. 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.
    bors committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    0427a23 View commit details
    Browse the repository at this point in the history
  7. Update chalk version

    Wilfred committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    3a63255 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Configuration menu
    Copy the full SHA
    4b3257a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00e238e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f671b0b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6212182 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b891ca View commit details
    Browse the repository at this point in the history
  6. 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
    bors committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    4778255 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1e11a55 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dd84306 View commit details
    Browse the repository at this point in the history
  9. 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.
    bors committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    d6fef2c View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Configuration menu
    Copy the full SHA
    91b012f View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    60f7473 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea11846 View commit details
    Browse the repository at this point in the history
  3. 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
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    c22bb03 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#15649 - tomalexander:master, r=Veykril

    Documentation: Add parenthesis to the list of on-typing assists.
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    fccae08 View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#15615 - shogo-nakano-desu:refactor/fix-clippy…

    …-lints, r=Veykril
    
    Refactor/fix clippy lints
    
    As title says.
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    11ffcc0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    93562dd View commit details
    Browse the repository at this point in the history
  7. 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.
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    2ededa2 View commit details
    Browse the repository at this point in the history
  8. 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
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    df75809 View commit details
    Browse the repository at this point in the history
  9. 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`).
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    5855bd8 View commit details
    Browse the repository at this point in the history
  10. Auto merge of rust-lang#15620 - pitaj:no-merges_exclude-titles, r=Vey…

    …kril
    
    triagebot exclude_labels -> exclude_titles
    
    rust-lang/triagebot#1720
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    609bdbc View commit details
    Browse the repository at this point in the history
  11. Various small fixes

    Veykril committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    556f0c6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8ad536f View commit details
    Browse the repository at this point in the history
  13. Fix doctest

    alibektas committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    695a134 View commit details
    Browse the repository at this point in the history
  14. Auto merge of rust-lang#15652 - Veykril:format_to, r=lnicola

    minor: Various small fixes
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    4a8622c View commit details
    Browse the repository at this point in the history
  15. v4

    alibektas committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    0a91a54 View commit details
    Browse the repository at this point in the history
  16. 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.
    alibektas committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    622e1a8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    132a6ce View commit details
    Browse the repository at this point in the history
  18. 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
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    59bcbaf View commit details
    Browse the repository at this point in the history
  19. Update config docs

    Veykril committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    ba7f2bf View commit details
    Browse the repository at this point in the history
  20. 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.
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    8139e8e View commit details
    Browse the repository at this point in the history
  21. 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?
    bors committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    2b580a1 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    fc258de View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. add tests for full signatures

    vxpm committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    9f3d627 View commit details
    Browse the repository at this point in the history
  2. split detail function

    vxpm committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    10fae62 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. 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)
    bors committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    e5e937a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7834b8f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab52ba2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    588c7d9 View commit details
    Browse the repository at this point in the history
  5. 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`
    bors committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    862a300 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7306504 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. minor: update libc to 0.2.148

    `cargo update -p libc`
    chenx97 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    963ba59 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#15659 - HKalbasi:unused-var, r=HKalbasi

    Add `unused_variables` native diagnostic
    bors committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    972a19f View commit details
    Browse the repository at this point in the history
  3. fix one

    Milo123459 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    f64eecd View commit details
    Browse the repository at this point in the history
  4. remove other unwraps

    Milo123459 committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    85ead6e View commit details
    Browse the repository at this point in the history
  5. 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`
    bors committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    d3cc3bc View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Configuration menu
    Copy the full SHA
    bce4be9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73150c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ca48d9 View commit details
    Browse the repository at this point in the history
  4. Simplify

    Veykril committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    0dbde71 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b0fe99f View commit details
    Browse the repository at this point in the history
  6. 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`
    bors committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    c945f90 View commit details
    Browse the repository at this point in the history
  7. 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)
    ```
    bors committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    3b1b58c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c907e1 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Update editors/code/package.json

    Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
    veber-alex and lnicola authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    5b04a7d View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#15672 - veber-alex:useRustcErrorCode_descript…

    …io, r=lnicola
    
    Improve useRustcErrorCode description
    
    Fixes rust-lang#15666
    bors committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    f93b6ac View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Configuration menu
    Copy the full SHA
    2b9dde1 View commit details
    Browse the repository at this point in the history
  2. 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)
    bors committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    b3f4574 View commit details
    Browse the repository at this point in the history
  3. scip: Allow customizing cargo config.

    Re-use the LSP config json for simplicity.
    emilio committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    791e6c8 View commit details
    Browse the repository at this point in the history
  4. 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.
    bors committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    f19479a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b3e5b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. 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 :)
    bors committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    87e2c31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a382e64 View commit details
    Browse the repository at this point in the history
  3. 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.
    bors committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    50678e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dfeff9f View commit details
    Browse the repository at this point in the history
  5. 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.
    bors committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1752178 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53f5c1c View commit details
    Browse the repository at this point in the history
  7. 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
    bors committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    e478db7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a943b19 View commit details
    Browse the repository at this point in the history
  9. 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
    bors committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    547bcf8 View commit details
    Browse the repository at this point in the history
  10. 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.
    Enselic committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    dd8ea97 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ae5d74d View commit details
    Browse the repository at this point in the history
  12. Auto merge of rust-lang#15692 - Veykril:underscore-completions, r=Vey…

    …kril
    
    fix: Typing underscore should not trigger completions in types or patterns
    bors committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    4791a5d View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. Configuration menu
    Copy the full SHA
    af28458 View commit details
    Browse the repository at this point in the history
  2. 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.
    bors committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    0840038 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40f80e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2023

  1. Configuration menu
    Copy the full SHA
    2611fbf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    146a7cc View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    34d3490 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    084ee93 View commit details
    Browse the repository at this point in the history
  3. 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
    bors committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    d7faec8 View commit details
    Browse the repository at this point in the history
  4. 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
    bors committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    4c9d2c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    7c113ee View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#15706 - lnicola:rustc-dependencies-descriptio…

    …n, r=lnicola
    
    minor: Add mock description to rustc-dependencies
    
    Hopefully fixes auto-publishing.
    bors committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    7b8330f View commit details
    Browse the repository at this point in the history
  3. address PR feedback.

    davidbarsky committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    a8ec77d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    fe39816 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#15709 - Veykril:runnables-custom-main, r=Veykril

    fix: Recognize custom main function as binary entrypoint for runnables
    bors committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    36be913 View commit details
    Browse the repository at this point in the history
  3. Replace unwrap with expect

    Veykril authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    c266387 View commit details
    Browse the repository at this point in the history
  4. 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
    bors committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    7e9da40 View commit details
    Browse the repository at this point in the history
  5. 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.
    bors committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    ad73597 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9ba8dbc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ab091b7 View commit details
    Browse the repository at this point in the history
  8. 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.
    bors committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    b57658d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. 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
    bors committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    695c612 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4af730e View commit details
    Browse the repository at this point in the history
  3. Remove repetitive words

    Signed-off-by: cui fliter <imcusg@gmail.com>
    cuishuang committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    58239f2 View commit details
    Browse the repository at this point in the history
  4. Prepare for rust-bors

    lnicola committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    e7295ff View commit details
    Browse the repository at this point in the history
  5. 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
    bors committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    54866a0 View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#15712 - cuishuang:master, r=lnicola

    minor: Remove repetitive words
    bors committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    fd39a30 View commit details
    Browse the repository at this point in the history
  7. 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.
    bors committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    03c5603 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Fix typos exec_intrinsic

    Toby222 committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    114f8a0 View commit details
    Browse the repository at this point in the history
  2. 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)
    bors committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    a158670 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88a00bf View commit details
    Browse the repository at this point in the history
  4. 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
    bors committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    ef58843 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b3ebc9a View commit details
    Browse the repository at this point in the history
  6. 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.
    bors committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    b1f89a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    c5d9bfa View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. 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.
    EliasHolzmann committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    3dfc1bf View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. 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
    bors committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    7e9b25b View commit details
    Browse the repository at this point in the history
  2. 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
    Tyrubias committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    aeef7b6 View commit details
    Browse the repository at this point in the history
  3. Add dedicated target_dir field to CargoConfig and FlycheckConfig

    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.
    Tyrubias committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    53b6700 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ef0b3bb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3682c37 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2290cc3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9771e1e View commit details
    Browse the repository at this point in the history
  8. Addressed PR style comments

    Tyrubias committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    a39d207 View commit details
    Browse the repository at this point in the history
  9. 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.
    bors committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    d646ae8 View commit details
    Browse the repository at this point in the history
  10. 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
    bors committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    dca63d1 View commit details
    Browse the repository at this point in the history
  11. 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
    bors committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ab62c01 View commit details
    Browse the repository at this point in the history
  12. 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
    bors committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    aaa1e8e View commit details
    Browse the repository at this point in the history
  13. 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.
    EliasHolzmann committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e8372e0 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. 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.
    bors committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    8a23314 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    a7fada4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1fe6ac8 View commit details
    Browse the repository at this point in the history
  3. fix: cargo fmt

    pvalletbo committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    f58a825 View commit details
    Browse the repository at this point in the history
  4. 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
    bors committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    c387361 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    677e6f3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e1aeb7f View commit details
    Browse the repository at this point in the history
  7. docs: Add Zed to IDE list.

    osiewicz committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    2e713a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b769f34 View commit details
    Browse the repository at this point in the history
  9. Auto merge of rust-lang#15745 - osiewicz:add-zed-to-ide-list, r=lnicola

    docs: Add Zed to IDE list.
    bors committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    7eec17e View commit details
    Browse the repository at this point in the history
  10. chore: format imports

    pvalletbo committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    4b281ff View commit details
    Browse the repository at this point in the history
  11. fix: format

    pvalletbo committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    6845c80 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. fix CI: generate doctest

    Young-Flash committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    3605bb3 View commit details
    Browse the repository at this point in the history
  2. 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
    bors committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    84e1d27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    506b1e5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5bbca22 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. 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
    bors committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    862693f View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. Configuration menu
    Copy the full SHA
    bc34e8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f4368a View commit details
    Browse the repository at this point in the history
  3. 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
    bors committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    16ac6c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8217ff9 View commit details
    Browse the repository at this point in the history
  5. 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
    bors committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    dbe5392 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. 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
    bors committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    65532e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d33fd15 View commit details
    Browse the repository at this point in the history
  3. 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
    bors committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    a8581aa View commit details
    Browse the repository at this point in the history
  4. Update rustc_abi dependency

    Veykril committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    40acc52 View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#15691 - Veykril:rustc_abi, r=Veykril

    Update rustc_abi dependency
    
    cc rust-lang#116269
    bors committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    6572ec8 View commit details
    Browse the repository at this point in the history
  6. Expand Emacs documentation

    Emacs 29 is now released, and include an example of enabling clippy.
    Wilfred committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    03bec11 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. 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.
    bors committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    983094a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    222be48 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#15769 - lnicola:metrics-ssh, r=lnicola

    internal: Create `~/.ssh` before writing deploy key
    bors committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    03f676e View commit details
    Browse the repository at this point in the history
  4. Fix metrics repo url

    lnicola committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    490cdfe View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#15770 - lnicola:metrics-url, r=lnicola

    internal: Fix metrics repo url
    bors committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    2910dbf View commit details
    Browse the repository at this point in the history
  6. 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.
    bors committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    d6afb4f View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    520aad1 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    23f9077 View commit details
    Browse the repository at this point in the history
  2. fix path

    HKalbasi committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    2227d28 View commit details
    Browse the repository at this point in the history
  3. update Cargo.lock

    HKalbasi committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    a2bd911 View commit details
    Browse the repository at this point in the history