rust/tests/ui/suggestions
bors f4f0fafd0c Auto merge of #132706 - compiler-errors:async-closures, r=oli-obk
Stabilize async closures (RFC 3668)

# Async Closures Stabilization Report

This report proposes the stabilization of `#![feature(async_closure)]` ([RFC 3668](https://rust-lang.github.io/rfcs/3668-async-closures.html)). This is a long-awaited feature that increases the expressiveness of the Rust language and fills a pressing gap in the async ecosystem.

## Stabilization summary

* You can write async closures like `async || {}` which return futures that can borrow from their captures and can be higher-ranked in their argument lifetimes.
* You can express trait bounds for these async closures using the `AsyncFn` family of traits, analogous to the `Fn` family.

```rust
async fn takes_an_async_fn(f: impl AsyncFn(&str)) {
    futures::join(f("hello"), f("world")).await;
}

takes_an_async_fn(async |s| { other_fn(s).await }).await;
```

## Motivation

Without this feature, users hit two major obstacles when writing async code that uses closures and `Fn` trait bounds:

- The inability to express higher-ranked async function signatures.
- That closures cannot return futures that borrow from the closure captures.

That is, for the first, we cannot write:

```rust
// We cannot express higher-ranked async function signatures.
async fn f<Fut>(_: impl for<'a> Fn(&'a u8) -> Fut)
where
    Fut: Future<Output = ()>,
{ todo!() }

async fn main() {
    async fn g(_: &u8) { todo!() }
    f(g).await;
    //~^ ERROR mismatched types
    //~| ERROR one type is more general than the other
}
```

And for the second, we cannot write:

```rust
// Closures cannot return futures that borrow closure captures.
async fn f<Fut: Future<Output = ()>>(_: impl FnMut() -> Fut)
{ todo!() }

async fn main() {
    let mut xs = vec![];
    f(|| async {
        async fn g() -> u8 { todo!() }
        xs.push(g().await);
    });
    //~^ ERROR captured variable cannot escape `FnMut` closure body
}
```

Async closures provide a first-class solution to these problems.

For further background, please refer to the [motivation section](https://rust-lang.github.io/rfcs/3668-async-closures.html#motivation) of the RFC.

## Major design decisions since RFC

The RFC had left open the question of whether we would spell the bounds syntax for async closures...

```rust
// ...as this...
fn f() -> impl AsyncFn() -> u8 { todo!() }
// ...or as this:
fn f() -> impl async Fn() -> u8 { todo!() }
```

We've decided to spell this as `AsyncFn{,Mut,Once}`.

The `Fn` family of traits is special in many ways.  We had originally argued that, due to this specialness, that perhaps the `async Fn` syntax could be adopted without having to decide whether a general `async Trait` mechanism would ever be adopted.  However, concerns have been raised that we may not want to use `async Fn` syntax unless we would pursue more general trait modifiers.  Since there remain substantial open questions on those -- and we don't want to rush any design work there -- it makes sense to ship this needed feature using the `AsyncFn`-style bounds syntax.

Since we would, in no case, be shipping a generalized trait modifier system anytime soon, we'll be continuing to see `AsyncFoo` traits appear across the ecosystem regardless.  If we were to ever later ship some general mechanism, we could at that time manage the migration from `AsyncFn` to `async Fn`, just as we'd be enabling and managing the migration of many other traits.

Note that, as specified in RFC 3668, the details of the `AsyncFn*` traits are not exposed and they can only be named via the "parentheses sugar".  That is, we can write `T: AsyncFn() -> u8` but not `T: AsyncFn<Output = u8>`.

Unlike the `Fn` traits, we cannot project to the `Output` associated type of the `AsyncFn` traits.  That is, while we can write...

```rust
fn f<F: Fn() -> u8>(_: F::Output) {}
```

...we cannot write:

```rust
fn f<F: AsyncFn() -> u8>(_: F::Output) {}
//~^ ERROR
```

The choice of `AsyncFn{,Mut,Once}` bounds syntax obviates, for our purposes here, another question decided after that RFC, which was how to order bound modifiers such as `for<'a> async Fn()`.

Other than answering the open question in the RFC on syntax, nothing has changed about the design of this feature between RFC 3668 and this stabilization.

## What is stabilized

For those interested in the technical details, please see [the dev guide section](https://rustc-dev-guide.rust-lang.org/coroutine-closures.html) I authored.

#### Async closures

Other than in how they solve the problems described above, async closures act similarly to closures that return async blocks, and can have parts of their signatures specified:

```rust
// They can have arguments annotated with types:
let _ = async |_: u8| { todo!() };

// They can have their return types annotated:
let _ = async || -> u8 { todo!() };

// They can be higher-ranked:
let _ = async |_: &str| { todo!() };

// They can capture values by move:
let x = String::from("hello, world");
let _ = async move || do_something(&x).await };
```

When called, they return an anonymous future type corresponding to the (not-yet-executed) body of the closure. These can be awaited like any other future.

What distinguishes async closures is that, unlike closures that return async blocks, the futures returned from the async closure can capture state from the async closure. For example:

```rust
let vec: Vec<String> = vec![];

let closure = async || {
    vec.push(ready(String::from("")).await);
};
```

The async closure captures `vec` with some `&'closure mut Vec<String>` which lives until the closure is dropped. Every call to `closure()` returns a future which reborrows that mutable reference `&'call mut Vec<String>` which lives until the future is dropped (e.g. it is `await`ed).

As another example:

```rust
let string: String = "Hello, world".into();

let closure = async move || {
    ready(&string).await;
};
```

The closure is marked with `move`, which means it takes ownership of the string by *value*. The future that is returned by calling `closure()` returns a future which borrows a reference `&'call String` which lives until the future is dropped (e.g. it is `await`ed).

#### Async fn trait family

To support the lending capability of async closures, and to provide a first-class way to express higher-ranked async closures, we introduce the `AsyncFn*` family of traits. See the [corresponding section](https://rust-lang.github.io/rfcs/3668-async-closures.html#asyncfn) of the RFC.

We stabilize naming `AsyncFn*` via the "parenthesized sugar" syntax that normal `Fn*` traits can be named. The `AsyncFn*` trait can be used anywhere a `Fn*` trait bound is allowed, such as:

```rust
/// In return-position impl trait:
fn closure() -> impl AsyncFn() { async || {} }

/// In trait bounds:
trait Foo<F>: Sized
where
    F: AsyncFn()
{
    fn new(f: F) -> Self;
}

/// in GATs:
trait Gat {
    type AsyncHasher<T>: AsyncFn(T) -> i32;
}
```

Other than using them in trait bounds, the definitions of these traits are not directly observable, but certain aspects of their behavior can be indirectly observed such as the fact that:

* `AsyncFn::async_call` and `AsyncFnMut::async_call_mut` return a future which is *lending*, and therefore borrows the `&self` lifetime of the callee.

```rust
fn by_ref_call(c: impl AsyncFn()) {
    let fut = c();
    drop(c);
    //   ^ Cannot drop `c` since it is borrowed by `fut`.
}
```

* `AsyncFnOnce::async_call_once` returns a future that takes ownership of the callee.

```rust
fn by_ref_call(c: impl AsyncFnOnce()) {
    let fut = c();
    let _ = c();
    //      ^ Cannot call `c` since calling it takes ownership the callee.
}
```

* All currently-stable callable types (i.e., closures, function items, function pointers, and `dyn Fn*` trait objects) automatically implement `AsyncFn*() -> T` if they implement `Fn*() -> Fut` for some output type `Fut`, and `Fut` implements `Future<Output = T>`.
    * This is to make sure that `AsyncFn*()` trait bounds have maximum compatibility with existing callable types which return futures, such as async function items and closures which return boxed futures.
    * For now, this only works currently for *concrete* callable types -- for example, a argument-position impl trait like `impl Fn() -> impl Future<Output = ()>` does not implement `AsyncFn()`, due to the fact that a `AsyncFn`-if-`Fn` blanket impl does not exist in reality. This may be relaxed in the future. Users can work around this by wrapping their type in an async closure and calling it. I expect this to not matter much in practice, as users are encouraged to write `AsyncFn` bounds directly.

```rust
fn is_async_fn(_: impl AsyncFn(&str)) {}

async fn async_fn_item(s: &str) { todo!() }
is_async_fn(s);
// ^^^ This works.

fn generic(f: impl Fn() -> impl Future<Output = ()>) {
    is_async_fn(f);
    // ^^^ This does not work (yet).
}
```

#### The by-move future

When async closures are called with `AsyncFn`/`AsyncFnMut`, they return a coroutine that borrows from the closure. However, when they are called via `AsyncFnOnce`, we consume that closure, and cannot return a coroutine that borrows from data that is now dropped.

To work around around this limitation, we synthesize a separate future type for calling the async closure via `AsyncFnOnce`.

This future executes identically to the by-ref future returned from calling the async closure, except for the fact that it has a different set of captures, since we must *move* the captures from the parent async into the child future.

#### Interactions between async closures and the `Fn*` family of traits

Async closures always implement `FnOnce`, since they always can be called once. They may also implement `Fn` or `FnMut` if their body is compatible with the calling mode (i.e. if they do not mutate their captures, or they do not capture their captures, respectively) and if the future returned by the async closure is not *lending*.

```rust
let id = String::new();

let mapped: Vec</* impl Future */> =
    [/* elements */]
    .into_iter()
    // `Iterator::map` takes an `impl FnMut`
    .map(async |element| {
        do_something(&id, element).await;
    })
    .collect();
```

See [the dev guide](https://rustc-dev-guide.rust-lang.org/coroutine-closures.html#follow-up-when-do-async-closures-implement-the-regular-fn-traits) for a detailed explanation for the situations where this may not be possible due to the lending nature of async closures.

#### Other notable features of async closures shared with synchronous closures

* Async closures are `Copy` and/or `Clone` if their captures are `Copy`/`Clone`.
* Async closures do closure signature inference: If an async closure is passed to a function with a `AsyncFn` or `Fn` trait bound, we can eagerly infer the argument types of the closure. More details are provided in [the dev guide](https://rustc-dev-guide.rust-lang.org/coroutine-closures.html#closure-signature-inference).

#### Lints

This PR also stabilizes the `CLOSURE_RETURNING_ASYNC_BLOCK` lint as an `allow` lint. This lints on "old-style" async closures:

```rust
#![warn(closure_returning_async_block)]
let c = |x: &str| async {};
```

We should encourage users to use `async || {}` where possible. This lint remains `allow` and may be refined in the future because it has a few false positives (namely, see: "Where do we expect rewriting `|| async {}` into `async || {}` to fail?")

An alternative that could be made at the time of stabilization is to put this lint behind another gate, so we can decide to stabilize it later.

## What isn't stabilized (aka, potential future work)

#### `async Fn*()` bound syntax

We decided to stabilize async closures without the `async Fn*()` bound modifier syntax. The general direction of this syntax and how it fits is still being considered by T-lang (e.g. in [RFC 3710](https://github.com/rust-lang/rfcs/pull/3710)).

#### Naming the futures returned by async closures

This stabilization PR does not provide a way of naming the futures returned by calling `AsyncFn*`.

Exposing a stable way to refer to these futures is important for building async-closure-aware combinators, and will be an important future step.

#### Return type notation-style bounds for async closures

The RFC described an RTN-like syntax for putting bounds on the future returned by an async closure:

```rust
async fn foo(x: F) -> Result<()>
where
    F: AsyncFn(&str) -> Result<()>,
    // The future from calling `F` is `Send` and `'static`.
    F(..): Send + 'static,
{}
```

This stabilization PR does not stabilize that syntax yet, which remains unimplemented (though will be soon).

#### `dyn AsyncFn*()`

`AsyncFn*` are not dyn-compatible yet. This will likely be implemented in the future along with the dyn-compatibility of async fn in trait, since the same issue (dealing with the future returned by a call) applies there.

## Tests

Tests exist for this feature in [`tests/ui/async-await/async-closures`](5b54286640/tests/ui/async-await/async-closures).

<details>
    <summary>A selected set of tests:</summary>

* Lending behavior of async closures
    * `tests/ui/async-await/async-closures/mutate.rs`
    * `tests/ui/async-await/async-closures/captures.rs`
    * `tests/ui/async-await/async-closures/precise-captures.rs`
    * `tests/ui/async-await/async-closures/no-borrow-from-env.rs`
* Async closures may be higher-ranked
    * `tests/ui/async-await/async-closures/higher-ranked.rs`
    * `tests/ui/async-await/async-closures/higher-ranked-return.rs`
* Async closures may implement `Fn*` traits
    * `tests/ui/async-await/async-closures/is-fn.rs`
    * `tests/ui/async-await/async-closures/implements-fnmut.rs`
* Async closures may be cloned
    * `tests/ui/async-await/async-closures/clone-closure.rs`
* Ownership of the upvars when `AsyncFnOnce` is called
    * `tests/ui/async-await/async-closures/drop.rs`
    * `tests/ui/async-await/async-closures/move-is-async-fn.rs`
    * `tests/ui/async-await/async-closures/force-move-due-to-inferred-kind.rs`
    * `tests/ui/async-await/async-closures/force-move-due-to-actually-fnonce.rs`
* Closure signature inference
    * `tests/ui/async-await/async-closures/signature-deduction.rs`
    * `tests/ui/async-await/async-closures/sig-from-bare-fn.rs`
    * `tests/ui/async-await/async-closures/signature-inference-from-two-part-bound.rs`

</details>

## Remaining bugs and open issues

* https://github.com/rust-lang/rust/issues/120694 tracks moving onto more general `LendingFn*` traits. No action needed, since it's not observable.
* https://github.com/rust-lang/rust/issues/124020 - Polymorphization ICE. Polymorphization needs to be heavily reworked. No action needed.
* https://github.com/rust-lang/rust/issues/127227 - Tracking reworking the way that rustdoc re-sugars bounds.
    * The part relevant to to `AsyncFn` is fixed by https://github.com/rust-lang/rust/pull/132697.

## Where do we expect rewriting `|| async {}` into `async || {}` to fail?

* Fn pointer coercions
    * Currently, it is not possible to coerce an async closure to an fn pointer like regular closures can be. This functionality may be implemented in the future.
```rust
let x: fn() -> _ = async || {};
```
* Argument capture
    * Like async functions, async closures always capture their input arguments. This is in contrast to something like `|t: T| async {}`, which doesn't capture `t` unless it is used in the async block. This may affect the `Send`-ness of the future or affect its outlives.
```rust
fn needs_send_future(_: impl Fn(NotSendArg) -> Fut)
where
    Fut: Future<Output = ()>,
{}

needs_send_future(async |_| {});
```

## History

#### Important feature history

- https://github.com/rust-lang/rust/pull/51580
- https://github.com/rust-lang/rust/pull/62292
- https://github.com/rust-lang/rust/pull/120361
- https://github.com/rust-lang/rust/pull/120712
- https://github.com/rust-lang/rust/pull/121857
- https://github.com/rust-lang/rust/pull/123660
- https://github.com/rust-lang/rust/pull/125259
- https://github.com/rust-lang/rust/pull/128506
- https://github.com/rust-lang/rust/pull/127482

## Acknowledgements

Thanks to `@oli-obk` for reviewing the bulk of the work for this feature. Thanks to `@nikomatsakis` for his design blog posts which generated interest for this feature, `@traviscross` for feedback and additions to this stabilization report. All errors are my own.

r? `@ghost`
2024-12-13 00:37:51 +00:00
..
auxiliary Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
dont-suggest-doc-hidden-variant-for-enum [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-suggest-ref Do not report errors from move path builder. 2023-10-21 10:29:40 +00:00
lifetimes be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02:00
types Add a regression test for #123630 2024-06-30 07:12:26 -04:00
abi-typo.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
abi-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
abi-typo.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
adt-param-with-implicit-sized-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
adt-param-with-implicit-sized-bound.stderr review comment: change wording 2024-02-01 03:31:03 +00:00
args-instead-of-tuple-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
args-instead-of-tuple-errors.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
args-instead-of-tuple.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
args-instead-of-tuple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
args-instead-of-tuple.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
as-ref-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
as-ref-2.stderr Suggest cloning and point out obligation errors on move error 2023-12-04 21:54:32 +00:00
as-ref.rs More robust as_ref/as_deref suggestions 2023-06-08 16:30:05 +00:00
as-ref.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
assoc-const-as-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-const-as-field.stderr use verbose for path separator suggestion 2024-11-08 16:58:19 +00:00
assoc-const-as-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-const-as-fn.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
assoc-const-without-self.rs suggest qualifying bare associated constants 2023-01-25 08:58:27 -05:00
assoc-const-without-self.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc-ct-for-assoc-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-ct-for-assoc-method.stderr Fix msg for verbose suggestions with confusable capitalization 2024-02-14 20:15:13 +00:00
assoc-type-in-method-return.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-in-method-return.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc_fn_without_self.rs More accurate suggestion for self. and Self:: 2023-09-23 01:34:50 +00:00
assoc_fn_without_self.stderr Tweak wording and logic 2023-09-23 01:54:05 +00:00
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr Stabilize async closures 2024-12-13 00:04:56 +00:00
attribute-typos.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-typos.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-hex-float-lit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-hex-float-lit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-infer-in-trait-impl.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
bad-infer-in-trait-impl.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
bool_typo_err_suggest.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bool_typo_err_suggest.stderr Fix msg for verbose suggestions with confusable capitalization 2024-02-14 20:15:13 +00:00
borrow-for-loop-head.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
borrow-for-loop-head.stderr Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
bound-suggestions.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound-suggestions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound-suggestions.stderr Account for impl Trait in "add bound" suggestion message 2024-12-07 21:37:15 +00:00
box-future-wrong-output.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
box-future-wrong-output.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
boxed-variant-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
boxed-variant-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-boxed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
call-boxed.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-on-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
call-on-missing.stderr recover primary span label 2023-11-16 17:00:23 +00:00
call-on-unimplemented-ctor.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
call-on-unimplemented-ctor.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-on-unimplemented-fn-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
call-on-unimplemented-fn-ptr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-on-unimplemented-with-autoderef.rs Consolidate two almost duplicated fn info extraction routines 2023-01-13 22:43:17 +00:00
call-on-unimplemented-with-autoderef.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
chain-method-call-mutation-in-place.rs Emit "modifies receiver" diagnostic when no method is found 2023-03-14 16:39:45 +01:00
chain-method-call-mutation-in-place.stderr Recurse over the method chain and maintain a stack to peek at previous receiver to align spans 2023-11-10 13:00:27 -08:00
clone-bounds-121524.rs Account for impl Trait in "add bound" suggestion message 2024-12-07 21:37:15 +00:00
clone-bounds-121524.stderr Account for impl Trait in "add bound" suggestion message 2024-12-07 21:37:15 +00:00
clone-on-unconstrained-borrowed-type-param.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
clone-on-unconstrained-borrowed-type-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
clone-on-unconstrained-borrowed-type-param.stderr reword trait bound suggestion message to include the bounds 2024-12-07 21:26:20 +00:00
const-in-struct-pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-in-struct-pat.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-no-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-no-type.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
const-pat-non-exaustive-let-new-var.rs Point at const definition when used instead of a binding in a let statement 2024-11-17 23:39:59 +00:00
const-pat-non-exaustive-let-new-var.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
constrain-suggest-ice.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
constrain-suggest-ice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
constrain-trait.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
constrain-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
constrain-trait.stderr Update tests 2024-02-07 10:42:01 +08:00
copied-and-cloned.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
copied-and-cloned.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
copied-and-cloned.stderr Revert PR #114052 to fix invalid suggestion 2023-08-17 14:33:33 +02:00
core-std-import-order-issue-83564.no_std.fixed Warn on redundant --cfg directive when revisions are used 2024-10-19 12:40:12 +00:00
core-std-import-order-issue-83564.no_std.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
core-std-import-order-issue-83564.rs Warn on redundant --cfg directive when revisions are used 2024-10-19 12:40:12 +00:00
core-std-import-order-issue-83564.std.fixed Warn on redundant --cfg directive when revisions are used 2024-10-19 12:40:12 +00:00
core-std-import-order-issue-83564.std.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
correct-binder-for-arbitrary-bound-sugg.rs Place binder correctly for arbitrary trait bound suggestion 2023-03-06 16:37:34 +00:00
correct-binder-for-arbitrary-bound-sugg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
count2len.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
count2len.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-or-module-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-or-module-typo.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
deref-path-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deref-path-method.stderr Bless tests due to new method suggestions. 2024-09-07 21:06:49 +07:00
derive-clone-for-eq.fixed Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
derive-clone-for-eq.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
derive-clone-for-eq.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
derive-macro-missing-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-macro-missing-bounds.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
derive-trait-for-method-call.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
derive-trait-for-method-call.stderr Use fulfillment, not evaluate, during method probe 2024-04-21 20:10:12 -04:00
do-not-attempt-to-add-suggestions-with-no-changes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
do-not-attempt-to-add-suggestions-with-no-changes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-deref-inside-macro-issue-58298.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-deref-inside-macro-issue-58298.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-suggest-foreign-doc-hidden.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-suggest-foreign-doc-hidden.stderr Hide foreign #[doc(hidden)] paths in import suggestions 2023-12-20 00:19:45 -05:00
dont-suggest-pin-array-dot-set.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-pin-array-dot-set.stderr Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
dont-suggest-private-trait-method.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
dont-suggest-private-trait-method.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
dont-suggest-try_into-in-macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-try_into-in-macros.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-suggest-ufcs-for-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-ufcs-for-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-try-removing-the-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-try-removing-the-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-wrap-ambiguous-receivers.rs Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
dont-wrap-ambiguous-receivers.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
dont_suggest_raw_pointer_syntax-issue-127562.rs Remove invalid help diagnostics for const pointer 2024-07-16 01:56:27 +08:00
dont_suggest_raw_pointer_syntax-issue-127562.stderr Remove invalid help diagnostics for const pointer 2024-07-16 01:56:27 +08:00
dyn-incompatible-trait-references-self.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-references-self.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self-2021-without-dyn.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
dyn-incompatible-trait-should-use-self-2021-without-dyn.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
dyn-incompatible-trait-should-use-self-2021.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self-2021.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-self.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-where-sized.fixed UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-where-sized.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
dyn-incompatible-trait-should-use-where-sized.stderr Arbitrary self types v2: use Receiver trait 2024-12-11 11:59:12 +00:00
enum-method-probe.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enum-method-probe.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enum-method-probe.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum-variant-arg-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum-variant-arg-mismatch.stderr On Fn arg mismatch for a fn path, suggest a closure 2023-11-29 18:55:00 +00:00
expected-boxed-future-isnt-pinned.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expected-boxed-future-isnt-pinned.stderr Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
field-access-considering-privacy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
field-access-considering-privacy.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
field-access.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
field-access.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
field-access.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
field-has-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
field-has-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +00:00
fn-missing-lifetime-in-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-missing-lifetime-in-item.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-needing-specified-return-type-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-needing-specified-return-type-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-or-tuple-struct-with-underscore-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-or-tuple-struct-with-underscore-args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-or-tuple-struct-without-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-or-tuple-struct-without-args.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
fn-to-method-deeply-nested.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-to-method-deeply-nested.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-to-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-to-method.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-trait-notation.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-trait-notation.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-trait-notation.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
for-i-in-vec.fixed Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
for-i-in-vec.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
for-i-in-vec.stderr Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
format-borrow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-borrow.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
ice-unwrap-probe-many-result-125876.rs Fix ICE due to unwrap in probe_for_name_many 2024-06-08 08:43:08 +05:30
ice-unwrap-probe-many-result-125876.stderr Fix ICE due to unwrap in probe_for_name_many 2024-06-08 08:43:08 +05:30
if-let-typo.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
if-let-typo.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
if-then-neeing-semi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if-then-neeing-semi.stderr fix: improve the suggestion on future not awaited 2023-02-13 16:23:23 +01:00
ignore-nested-field-binding.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ignore-nested-field-binding.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ignore-nested-field-binding.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
imm-ref-trait-object-literal-bound-regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
imm-ref-trait-object-literal-bound-regions.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
imm-ref-trait-object-literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
imm-ref-trait-object-literal.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
imm-ref-trait-object.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
imm-ref-trait-object.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-on-dyn-trait-with-implicit-static-bound.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-on-dyn-trait-with-implicit-static-bound.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-trait-missing-lifetime-gated.rs elided_named_lifetimes: bless & add tests 2024-08-31 15:35:42 +03:00
impl-trait-missing-lifetime-gated.stderr elided_named_lifetimes: bless & add tests 2024-08-31 15:35:42 +03:00
impl-trait-missing-lifetime.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-trait-missing-lifetime.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-trait-return-trailing-semicolon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-trait-return-trailing-semicolon.stderr Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
impl-trait-with-missing-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-trait-with-missing-bounds.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-trait-with-missing-trait-bounds-in-arg.fixed Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
impl-trait-with-missing-trait-bounds-in-arg.rs Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
impl-trait-with-missing-trait-bounds-in-arg.stderr Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
import-trait-for-method-call.rs Add insta-stable std:#️⃣:{DefaultHasher, RandomState} exports 2023-11-02 20:35:20 -04:00
import-trait-for-method-call.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
incorrect-variant-literal.rs Add svg test for incorrect literal type suggestion 2024-07-18 18:20:32 +00:00
incorrect-variant-literal.svg Tweak "field not found" suggestion when giving struct literal for tuple struct type 2024-07-18 18:20:35 +00:00
inner_type.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inner_type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inner_type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner_type2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner_type2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
into-convert.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
into-convert.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
into-str.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
into-str.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
invalid-bin-op.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-bin-op.stderr fix ui tests 2024-02-04 11:34:10 +08:00
issue-21673.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-21673.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-51055-missing-semicolon-between-call-and-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-51055-missing-semicolon-between-call-and-tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-52820.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-52820.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-52820.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-53692.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-53692.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-53692.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-57672.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59819.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59819.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59819.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-61226.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-61226.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-61226.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61963.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-61963.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
issue-62843.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-62843.stderr Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-64252-self-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64252-self-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66968-suggest-sorted-words.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66968-suggest-sorted-words.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68049-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68049-1.stderr Account for trait/impl difference when suggesting changing argument from ref to mut ref 2024-04-06 16:23:10 +00:00
issue-68049-2.rs Account for trait/impl difference when suggesting changing argument from ref to mut ref 2024-04-06 16:23:10 +00:00
issue-68049-2.stderr Fix ... in multline code-skips in suggestions 2024-06-20 04:25:17 +00:00
issue-71394-no-from-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-71394-no-from-impl.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-72766.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-72766.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-79843-impl-trait-with-missing-bounds-on-async-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-79843-impl-trait-with-missing-bounds-on-async-fn.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
issue-81098.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81098.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81839.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81839.stderr Remove a suggestion that is redundant 2024-02-15 17:20:44 +00:00
issue-82361.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82361.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82361.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82566-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82566-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82566-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82566-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83892.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83892.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83892.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83943.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83943.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83943.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84592.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84592.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84700.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84700.stderr Suggest the struct variant pattern syntax on usage of unit variant pattern for a struct variant 2024-08-28 22:55:57 +09:00
issue-84973-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84973-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84973-blacklist.rs On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +00:00
issue-84973-blacklist.stderr On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +00:00
issue-84973-negative.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84973-negative.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84973.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84973.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-85347.rs Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
issue-85347.stderr Fix associated item removal suggestion 2024-07-17 21:30:40 +00:00
issue-85943-no-suggest-unsized-indirection-in-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85943-no-suggest-unsized-indirection-in-where-clause.stderr review comment: change wording 2024-02-01 03:31:03 +00:00
issue-85945-check-where-clause-before-suggesting-unsized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85945-check-where-clause-before-suggesting-unsized.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
issue-86100-tuple-paren-comma.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86100-tuple-paren-comma.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-86667.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-86667.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-88696.rs diagnostics: exclude indirect private deps from trait impl suggest 2023-05-25 08:14:33 -07:00
issue-88696.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-88730.rs Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
issue-88730.stderr Change bindings_with_variant_name to deny-by-default 2023-01-20 02:26:12 -05:00
issue-89064.rs Change suggestion message wording 2024-07-22 22:04:49 +00:00
issue-89064.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-89333.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89333.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-89640.rs Detect extra space in keyword for better hint 2023-07-04 18:13:31 +08:00
issue-89640.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90213-expected-boxfuture-self-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90213-expected-boxfuture-self-ice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90974.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90974.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-94171.rs Fix overflow in error emitter 2023-05-19 20:58:06 +02:00
issue-94171.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
issue-96223.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-96223.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-96555.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-96555.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-97677.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97677.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97677.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
issue-97704.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97704.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97704.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-97760.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97760.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-98500.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
issue-98500.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
issue-98562.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98562.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99080.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99080.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99240-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99240-2.stderr tests: remove some trailing ws 2024-04-27 10:54:31 +03:00
issue-99240.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99240.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99597.rs fix(diagnostic): wrap parens for ref impl trait param 2023-05-16 09:29:33 +08:00
issue-99597.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101065.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-101065.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-101065.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101421.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
issue-101421.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-101465.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101465.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101623.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101623.stderr Add trait diff highlighting logic and use it in E0277 2024-11-02 03:08:04 +00:00
issue-101984.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101984.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102354.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102354.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102892.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-102892.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
issue-102972.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102972.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102972.stderr Use structured suggestion for #113174 2023-10-11 18:26:44 +00:00
issue-103112.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103112.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-103646.rs fix: dedup static_candidates before report 2023-05-27 00:52:07 +08:00
issue-103646.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-104086-suggest-let.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104086-suggest-let.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104287.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
issue-104287.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-104327.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104327.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-104328.rs Rename feature object_safe_for_dispatch to dyn_compatible_for_dispatch 2024-10-10 00:57:59 +02:00
issue-104328.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-104961.fixed Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-104961.rs Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-104961.stderr Remove generic lifetime parameter of trait Pattern 2024-07-15 12:12:44 +02:00
issue-105226.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105226.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105494.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105494.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-105645.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105645.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-105761-suggest-self-for-closure.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105761-suggest-self-for-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105761-suggest-self-for-closure.stderr Provide help on closures capturing self causing borrow checker errors 2023-01-12 20:17:25 +08:00
issue-106443-sugg-clone-for-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-106443-sugg-clone-for-arg.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-106443-sugg-clone-for-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-106443-sugg-clone-for-bound.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
issue-107860.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-107860.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-108470.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-108470.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-108470.stderr Fix bad suggestion for clone/is_some in field init shorthand 2023-03-24 19:52:34 +08:00
issue-109195.rs Create helper maybe_report_similar_assoc_fn 2024-02-05 18:53:28 -08:00
issue-109195.stderr Create helper maybe_report_similar_assoc_fn 2024-02-05 18:53:28 -08:00
issue-109291.rs Fix issue when there are multiple candidates for edit_distance_with_substrings 2023-03-20 22:48:26 +08:00
issue-109291.stderr Do not suggest unresolvable builder methods 2024-05-23 07:23:59 +05:30
issue-109396.rs Avoid ICE of attempt to add with overflow in emitter 2023-03-21 01:23:28 +08:00
issue-109396.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
issue-109436.rs Fixes #109436: add parentheses properly 2023-03-22 13:52:24 +08:00
issue-109436.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-109854.rs Fix overflow in error emitter 2023-05-19 20:58:06 +02:00
issue-109854.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
issue-109991.rs Do not offer any of the suggestions in emit_coerce_suggestions for expr from destructuring assignment desugaring 2023-06-25 09:26:17 +08:00
issue-109991.stderr Do not offer any of the suggestions in emit_coerce_suggestions for expr from destructuring assignment desugaring 2023-06-25 09:26:17 +08:00
issue-112590-suggest-import.rs add testcase for 112590 2023-07-02 15:35:18 +08:00
issue-112590-suggest-import.stderr add testcase for 112590 2023-07-02 15:35:18 +08:00
issue-114701.rs Remove extra errors 2023-08-15 10:58:33 +00:00
issue-114701.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-114797-bad-parentheses-dyn-trait.fixed blessings 2024-07-04 17:56:09 +02:00
issue-114797-bad-parentheses-dyn-trait.rs blessings 2024-07-04 17:56:09 +02:00
issue-114797-bad-parentheses-dyn-trait.stderr blessings 2024-07-04 17:56:09 +02:00
issue-116434-2015.rs Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
issue-116434-2015.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
issue-116434-2021.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-116434-2021.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
issue-117669.rs Reorder type mismatch suggestions 2023-11-08 14:15:25 +00:00
issue-117669.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
js-style-comparison-op-separate-eq-token.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
js-style-comparison-op-separate-eq-token.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
js-style-comparison-op.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
js-style-comparison-op.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
js-style-comparison-op.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
late-bound-in-borrow-closure-sugg.rs Liberate late-bound regions correctly 2023-01-25 19:26:53 +00:00
late-bound-in-borrow-closure-sugg.stderr eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
let-binding-init-expr-as-ty.rs Implement RTN in resolve_bound_vars and HIR ty lowering 2024-09-20 22:18:57 -04:00
let-binding-init-expr-as-ty.stderr Implement RTN in resolve_bound_vars and HIR ty lowering 2024-09-20 22:18:57 -04:00
many-type-ascription.rs Rip it out 2023-05-01 16:15:13 +08:00
many-type-ascription.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
match-ergonomics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-ergonomics.stderr Tweak slice and as_deref suggestion span 2024-07-04 05:50:21 +00:00
match-needing-semi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-needing-semi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-prev-arm-needing-semi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-prev-arm-needing-semi.stderr fix: improve the suggestion on future not awaited 2023-02-13 16:23:23 +01:00
match-with-different-arm-types-as-stmt-instead-of-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-with-different-arm-types-as-stmt-instead-of-expr.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
method-access-to-range-literal-typo.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
method-access-to-range-literal-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
method-access-to-range-literal-typo.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
method-missing-parentheses.rs Don't emit "field expressions may not have generic arguments" if it's a method call without () 2024-12-11 16:23:04 +01:00
method-missing-parentheses.stderr Don't emit "field expressions may not have generic arguments" if it's a method call without () 2024-12-11 16:23:04 +01:00
mismatched-types-numeric-from.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mismatched-types-numeric-from.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-assoc-fn-applicable-suggestions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-assoc-fn-applicable-suggestions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-assoc-fn.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
missing-assoc-fn.stderr Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
missing-assoc-type-bound-restriction.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-2.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
missing-bound-in-derive-copy-impl-3.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-3.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
missing-bound-in-derive-copy-impl.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
missing-bound-in-derive-copy-impl.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
missing-bound-in-manual-copy-impl-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl-2.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
missing-bound-in-manual-copy-impl.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl.stderr reword trait bound suggestion message to include the bounds 2024-12-07 21:26:20 +00:00
missing-impl-trait-block-but-not-ascii.rs not use offset when there is not ends with brace 2024-06-23 23:44:22 +08:00
missing-impl-trait-block-but-not-ascii.stderr not use offset when there is not ends with brace 2024-06-23 23:44:22 +08:00
missing-lifetime-in-assoc-const-type.default.stderr Resolve const lifetimes to static in trait too 2024-06-14 11:05:35 -04:00
missing-lifetime-in-assoc-const-type.generic_const_items.stderr Resolve const lifetimes to static in trait too 2024-06-14 11:05:35 -04:00
missing-lifetime-in-assoc-const-type.rs Resolve const lifetimes to static in trait too 2024-06-14 11:05:35 -04:00
missing-lifetime-specifier.rs fix UI test 2024-05-25 09:37:08 +02:00
missing-lifetime-specifier.stderr fix UI test 2024-05-25 09:37:08 +02:00
missing-lt-for-hrtb.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
missing-lt-for-hrtb.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
missing-semicolon.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-semicolon.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-semicolon.stderr Make ; suggestions inline 2024-07-12 03:22:32 +00:00
missing-trait-item.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-trait-item.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-trait-item.stderr Update tests 2024-02-07 10:42:01 +08:00
missing-type-param-used-in-param.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-type-param-used-in-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-type-param-used-in-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
move-generic-to-trait-in-method-with-params.rs Change suggestion message wording 2024-07-22 22:04:49 +00:00
move-generic-to-trait-in-method-with-params.stderr Change suggestion message wording 2024-07-22 22:04:49 +00:00
multibyte-escapes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multibyte-escapes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mut-borrow-needed-by-trait.rs Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
mut-borrow-needed-by-trait.stderr Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
mut-ref-reassignment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mut-ref-reassignment.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
negative-literal-index.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
negative-literal-index.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
negative-literal-index.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-non-tuple-tuple-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-non-tuple-tuple-struct.stderr Tweak "field not found" suggestion when giving struct literal for tuple struct type 2024-07-18 18:20:35 +00:00
no-extern-crate-in-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-extern-crate-in-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-method-found-suggest-trait-args.rs Provide placeholder generic arguments for traits in "no method found for type parameter" suggestions 2024-11-11 12:33:15 -08:00
no-method-found-suggest-trait-args.stderr Provide placeholder generic arguments for traits in "no method found for type parameter" suggestions 2024-11-11 12:33:15 -08:00
non-existent-field-present-in-subfield-recursion-limit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-existent-field-present-in-subfield-recursion-limit.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-existent-field-present-in-subfield.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-existent-field-present-in-subfield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-existent-field-present-in-subfield.stderr recover primary span label 2023-11-16 17:00:23 +00:00
non_ascii_ident.rs rustc_hir_typeck: Fix ICE when probing for non-ASCII function alternative 2023-12-01 21:37:43 +01:00
non_ascii_ident.stderr rustc_hir_typeck: Fix ICE when probing for non-ASCII function alternative 2023-12-01 21:37:43 +01:00
only-suggest-removal-of-conversion-method-calls.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
only-suggest-removal-of-conversion-method-calls.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
only-suggest-removal-of-conversion-method-calls.stderr Only suggest removal of as_* and to_ conversion methods on E0308 2024-01-29 19:07:36 +00:00
opaque-type-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
opaque-type-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
option-content-move-from-tuple-match.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
option-content-move-from-tuple-match.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
option-content-move.fixed Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
option-content-move.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
option-content-move.stderr Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
option-content-move2.rs Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-content-move2.stderr Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-content-move3.rs Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-content-move3.stderr Suggest cloning captured binding in move closure 2024-04-24 22:21:16 +00:00
option-to-bool.rs Remove useless configs in tests 2024-04-07 01:16:45 +02:00
option-to-bool.stderr Remove useless configs in tests 2024-04-07 01:16:45 +02:00
parenthesized-deref-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parenthesized-deref-suggestion.stderr Tweak raw-pointer field access and array indexing suggestions 2024-07-04 06:06:33 +00:00
partialeq_suggest_swap.rs suggest swapping the equality 2024-11-05 10:09:34 +08:00
partialeq_suggest_swap.stderr suggest swapping the equality 2024-11-05 10:09:34 +08:00
path-by-value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
path-by-value.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
path-display.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
path-display.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
pattern-slice-vec.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pattern-slice-vec.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pattern-slice-vec.stderr Tweak slice and as_deref suggestion span 2024-07-04 05:50:21 +00:00
pattern-struct-with-slice-vec-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pattern-struct-with-slice-vec-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
private-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
private-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range-index-instead-of-colon.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
range-index-instead-of-colon.stderr Change help message to make some sense in broader context 2023-11-27 22:18:03 +09:00
raw-byte-string-prefix.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
raw-byte-string-prefix.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-name-use-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-name-use-suggestion.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
recover-from-semicolon-trailing-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-from-semicolon-trailing-item.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
recover-invalid-float-invalid.rs Fix invalid float literal suggestions when recovering an integer 2023-01-30 13:39:25 -08:00
recover-invalid-float-invalid.stderr Fix invalid float literal suggestions when recovering an integer 2023-01-30 13:39:25 -08:00
recover-invalid-float.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
recover-invalid-float.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
recover-invalid-float.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
recover-missing-turbofish-surrounding-angle-braket.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-missing-turbofish-surrounding-angle-braket.stderr Do not underline suggestions for code that is already there 2024-08-01 18:53:42 +00:00
ref-pattern-binding.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ref-pattern-binding.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ref-pattern-binding.stderr Tweak wording 2024-03-13 23:05:17 +00:00
removal-of-multiline-trait-bound-in-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removal-of-multiline-trait-bound-in-where-clause.stderr review comment: change wording 2024-02-01 03:31:03 +00:00
remove-question-symbol-with-paren.rs fix the span in the suggestion of remove question mark 2023-08-03 16:44:02 +08:00
remove-question-symbol-with-paren.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
restrict-existing-type-bounds.rs Modify existing bounds if they exist 2023-02-06 11:26:36 -08:00
restrict-existing-type-bounds.stderr Tweak wording 2024-12-07 22:18:51 +00:00
restrict-type-argument.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
restrict-type-argument.stderr Account for impl Trait in "add bound" suggestion message 2024-12-07 21:37:15 +00:00
restrict-type-not-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
restrict-type-not-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-bindings-multi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-bindings-multi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-bindings.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-bindings.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
return-closures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-closures.stderr Use suggest_impl_trait in return type suggestion 2024-04-10 18:58:15 -04:00
return-cycle-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-cycle-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-cycle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-cycle.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-elided-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-elided-lifetime.stderr Tweak wording 2023-11-20 23:44:37 +00:00
return-without-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-without-lifetime.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
semi-suggestion-when-stmt-and-expr-span-equal.rs Do not emit empty suggestion 2024-12-04 17:40:39 +00:00
semi-suggestion-when-stmt-and-expr-span-equal.stderr Do not emit empty suggestion 2024-12-04 17:40:39 +00:00
shadowed-lplace-method-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadowed-lplace-method-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
shadowed-lplace-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
shadowed-lplace-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
shadowed-lplace-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
silenced-binding-typo.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
silenced-binding-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
silenced-binding-typo.stderr Update ui tests for leading-underscore suggestion 2024-05-30 21:39:41 -05:00
slice-issue-87994.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
slice-issue-87994.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
struct-field-type-including-single-colon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-field-type-including-single-colon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-initializer-comma.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-initializer-comma.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-initializer-comma.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sugg-else-for-closure.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sugg-else-for-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sugg-else-for-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
sugg_with_positional_args_and_debug_fmt.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sugg_with_positional_args_and_debug_fmt.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-add-self-issue-128042.rs Fix a span error when parsing a wrong param of function. 2024-07-25 22:33:45 +08:00
suggest-add-self-issue-128042.stderr Fix a span error when parsing a wrong param of function. 2024-07-25 22:33:45 +08:00
suggest-add-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-add-self.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-adding-reference-to-trait-assoc-item.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-adding-reference-to-trait-assoc-item.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-adding-reference-to-trait-assoc-item.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
suggest-assoc-fn-call-deref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-deref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-assoc-fn-call-for-impl-trait.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-for-impl-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-for-impl-trait.stderr test: add test case for impl trait arg suggestion 2024-01-14 18:54:07 +08:00
suggest-assoc-fn-call-with-turbofish-placeholder.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-assoc-fn-call-with-turbofish-placeholder.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-assoc-fn-call-with-turbofish-through-deref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-assoc-fn-call-with-turbofish-through-deref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-assoc-fn-call-with-turbofish.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-with-turbofish.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-with-turbofish.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-assoc-fn-call-without-receiver.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-without-receiver.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-without-receiver.stderr chore: add test case for type with generic 2023-12-09 17:49:40 +08:00
suggest-blanket-impl-local-trait.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-blanket-impl-local-trait.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-box.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-box.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-box.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-boxed-empty-block.fixed Stabilize async closures 2024-12-13 00:04:56 +00:00
suggest-boxed-empty-block.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
suggest-boxed-empty-block.stderr Stabilize async closures 2024-12-13 00:04:56 +00:00
suggest-call-on-pat-mismatch.rs Suggest fn call on pattern type mismatch 2023-02-10 18:18:08 +00:00
suggest-call-on-pat-mismatch.stderr Suggest fn call on pattern type mismatch 2023-02-10 18:18:08 +00:00
suggest-change-mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-change-mut.stderr Use only one label for multiple unsatisfied bounds on type (typeck) 2024-01-26 20:47:19 +00:00
suggest-closure-return-type-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-closure-return-type-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-closure-return-type-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-closure-return-type-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-closure-return-type-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-closure-return-type-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-dereferencing-index.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-dereferencing-index.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-dereferencing-index.stderr Trim output of E0277 in some cases 2024-11-02 03:08:04 +00:00
suggest-field-through-deref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-field-through-deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-field-through-deref.stderr recover primary span label 2023-11-16 17:00:23 +00:00
suggest-fn-ptr-for-fn-item-in-fn-ret.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-fn-ptr-for-fn-item-in-fn-ret.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-fn-ptr-for-fn-item-in-fn-ret.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-full-enum-variant-for-local-module.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-full-enum-variant-for-local-module.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-imm-mut-trait-implementations.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-imm-mut-trait-implementations.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-impl-trait-lifetime.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-impl-trait-lifetime.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-impl-trait-lifetime.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-labels.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-labels.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-let-and-typo-issue-132483.rs Suggest fixing typos and let bindings at the same time 2024-11-02 14:40:37 -07:00
suggest-let-and-typo-issue-132483.stderr Suggest fixing typos and let bindings at the same time 2024-11-02 14:40:37 -07:00
suggest-let-for-assignment.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-let-for-assignment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-let-for-assignment.stderr feat: make let_binding_suggestion more reasonable 2023-11-23 20:22:17 +08:00
suggest-methods.rs Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
suggest-methods.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
suggest-move-lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-move-lifetimes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-move-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-move-types.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-mut-method-for-loop-closure.rs use maybe_body_owned_by for closure 2023-07-14 07:12:35 +08:00
suggest-mut-method-for-loop-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-mut-method-for-loop-hashmap.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-mut-method-for-loop-hashmap.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-mut-method-for-loop-hashmap.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-mut-method-for-loop.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-mut-method-for-loop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-null-ptr.fixed Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
suggest-null-ptr.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
suggest-null-ptr.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
suggest-on-bare-closure-call.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
suggest-on-bare-closure-call.stderr Stabilize async closures 2024-12-13 00:04:56 +00:00
suggest-pin-macro.rs Added diagnostic for pin! macro in addition to Box::pin if Unpin isn't implemented 2023-04-12 18:03:11 -04:00
suggest-pin-macro.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-ref-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
suggest-ref-macro.stderr Tweak borrow suggestion 2023-05-08 03:36:30 +00:00
suggest-ref-mut.rs tweak spans for ref mut suggestion 2023-05-05 22:40:05 +12:00
suggest-ref-mut.stderr tweak spans for ref mut suggestion 2023-05-05 22:40:05 +12:00
suggest-remove-deref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-deref.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
suggest-remove-refs-1.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-1.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-3.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-3.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-4.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-4.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-remove-refs-5.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-5.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-5.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
suggest-ret-on-async-w-late.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-ret-on-async-w-late.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-ret-on-async-w-late.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-semicolon-for-fn-in-extern-block.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-semicolon-for-fn-in-extern-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-semicolon-for-fn-in-extern-block.stderr Make ; suggestions inline 2024-07-12 03:22:32 +00:00
suggest-slice-swap.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-slice-swap.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-slice-swap.stderr Suggest .swap() instead of mem::swap() in more cases 2024-01-19 01:30:46 -08:00
suggest-split-at-mut.rs Don't suggest split_at_mut when the multiple borrows have the same index 2024-04-25 16:55:33 +00:00
suggest-split-at-mut.stderr Check equivalence of indices in more cases 2024-04-25 16:55:33 +00:00
suggest-std-when-using-type.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-std-when-using-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-std-when-using-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-swapping-self-ty-and-trait-edition-2021.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-swapping-self-ty-and-trait-edition-2021.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
suggest-swapping-self-ty-and-trait.rs Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
suggest-swapping-self-ty-and-trait.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
suggest-trait-in-ufcs-in-hrtb.rs Erase **all** regions when probing for associated types in astconv 2023-02-28 17:29:46 +00:00
suggest-trait-in-ufcs-in-hrtb.stderr Update test outputs 2023-12-22 11:01:07 -08:00
suggest-trait-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-trait-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-tryinto-edition-change.rs Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
suggest-tryinto-edition-change.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
suggest-using-chars.rs Tweak use of trimmed paths 2023-01-30 20:12:21 +00:00
suggest-using-chars.stderr Tweak use of trimmed paths 2023-01-30 20:12:21 +00:00
suggest-variants.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-variants.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
suggest_print_over_printf.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest_print_over_printf.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suppress-consider-slicing-issue-120605.rs Don't show suggestion if slice pattern is enclosed by any patterns 2024-03-17 19:21:13 +09:00
suppress-consider-slicing-issue-120605.stderr Tweak slice and as_deref suggestion span 2024-07-04 05:50:21 +00:00
too-many-field-suggestions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
too-many-field-suggestions.stderr recover primary span label 2023-11-16 17:00:23 +00:00
trait-hidden-method.rs Do not create trait object type if missing associated types 2024-11-30 17:05:47 +00:00
trait-hidden-method.stderr Do not create trait object type if missing associated types 2024-11-30 17:05:47 +00:00
trait-impl-bound-suggestions.fixed Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
trait-impl-bound-suggestions.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
trait-impl-bound-suggestions.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
trait-with-missing-associated-type-restriction-fixable.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-with-missing-associated-type-restriction-fixable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-with-missing-associated-type-restriction-fixable.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-with-missing-associated-type-restriction.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-with-missing-associated-type-restriction.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
try-operator-dont-suggest-semicolon.rs Don't suggest adding return type for closures with default return type 2024-08-28 12:54:39 +08:00
try-operator-dont-suggest-semicolon.stderr Don't suggest adding return type for closures with default return type 2024-08-28 12:54:39 +08:00
try-removing-the-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-removing-the-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-ascription-and-other-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-ascription-and-other-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-let.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-let.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-let.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-method.stderr Use more accurate span for : to :: suggestion 2024-07-12 03:02:58 +00:00
type-ascription-instead-of-path-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-path-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-path-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-path-in-type.rs Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
type-ascription-instead-of-path-in-type.stderr Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
type-ascription-instead-of-path.rs Rip it out 2023-05-01 16:15:13 +08:00
type-ascription-instead-of-path.stderr Use more accurate span for : to :: suggestion 2024-07-12 03:02:58 +00:00
type-ascription-instead-of-variant.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-variant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-variant.stderr Use more accurate span for : to :: suggestion 2024-07-12 03:02:58 +00:00
type-mismatch-byte-literal.rs Fix problem noticed in PR106859 with char -> u8 suggestion 2023-02-06 21:48:10 +00:00
type-mismatch-byte-literal.stderr Fix problem noticed in PR106859 with char -> u8 suggestion 2023-02-06 21:48:10 +00:00
type-mismatch-struct-field-shorthand-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-mismatch-struct-field-shorthand-2.stderr tweak logic of "unknown field" label 2023-11-18 00:40:11 +00:00
type-mismatch-struct-field-shorthand.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-mismatch-struct-field-shorthand.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-mismatch-struct-field-shorthand.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-not-found-in-adt-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-not-found-in-adt-field.stderr Render missing generics suggestion verbosely 2023-01-12 22:04:30 +00:00
undeclared-module-alloc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
undeclared-module-alloc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unnamable-types.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unnamable-types.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unnecessary_dot_for_floating_point_literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnecessary_dot_for_floating_point_literal.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
unsized-function-parameter.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsized-function-parameter.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsized-function-parameter.stderr On implicit Sized bound on fn argument, point at type instead of pattern 2024-09-27 00:45:02 +00:00
unused-closure-argument.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-closure-argument.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-imports.fixed remove braces when fixing a nested use tree into a single use 2024-04-14 18:45:30 +02:00
unused-imports.rs remove braces when fixing a nested use tree into a single use 2024-04-14 18:45:30 +02:00
unused-imports.stderr Make early lints translatable 2024-05-21 20:16:39 +00:00
use-placement-resolve.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-resolve.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-resolve.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
use-placement-typeck.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-typeck.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-typeck.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
use-type-argument-instead-of-assoc-type.rs Dont create trait object if it has errors in it 2024-11-23 23:31:30 +00:00
use-type-argument-instead-of-assoc-type.stderr Dont create trait object if it has errors in it 2024-11-23 23:31:30 +00:00
while-let-typo.rs Fix ICE for while loop with assignment condition with LHS place expr 2023-06-08 02:38:12 +08:00
while-let-typo.stderr Fix ICE for while loop with assignment condition with LHS place expr 2023-06-08 02:38:12 +08:00
wrap-dyn-in-suggestion-issue-120223.rs Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00
wrap-dyn-in-suggestion-issue-120223.stderr Wrap dyn type with parentheses in suggestion 2024-04-23 00:15:10 +09:00