rust/tests
Robin Schroer f908f0be5a
Consider doc(alias) when providing typo suggestions
This means that

```rust
impl Foo {
    #[doc(alias = "quux")]
    fn bar(&self) {}
}

fn main() {
    (Foo {}).quux();
}
```

will suggest `bar`. This currently uses the "there is a method with a
similar name" help text, because the point where we choose and emit a
suggestion is different from where we gather the suggestions. Changes
have mainly been made to the latter.

The selection code will now fall back to aliased candidates, but
generally only if there is no candidate that matches based on the
existing Levenshtein methodology.

Fixes #83968.
2023-01-23 10:07:10 +09:00
..
assembly bump failing assembly & codegen tests from LLVM 14 to LLVM 15 2023-01-17 20:02:01 +01:00
auxiliary
codegen Auto merge of #106989 - clubby789:is-zero-num, r=scottmcm 2023-01-19 08:04:26 +00:00
codegen-units
debuginfo
incremental
mir-opt Transform async ResumeTy in generator transform 2023-01-19 09:03:05 +01:00
pretty
run-make
run-make-fulldeps
run-pass-valgrind
rustdoc Revert "Add regression test for impl blocks in const expr" 2023-01-19 20:27:37 +01:00
rustdoc-gui Rollup merge of #107045 - notriddle:notriddle/settings-css-setting-line, r=GuillaumeGomez 2023-01-18 18:00:31 -05:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Revert "Update newly failing UI tests" 2023-01-19 20:27:00 +01:00
ui Consider doc(alias) when providing typo suggestions 2023-01-23 10:07:10 +09:00
ui-fulldeps
COMPILER_TESTS.md