rust/tests/ui/parser
bors 481d45abec Auto merge of #115822 - compiler-errors:stabilize-rpitit, r=jackh726
Stabilize `async fn` and return-position `impl Trait` in trait

# Stabilization report

This report proposes the stabilization of `#![feature(return_position_impl_trait_in_trait)]` ([RPITIT][RFC 3425]) and `#![feature(async_fn_in_trait)]` ([AFIT][RFC 3185]). These are both long awaited features that increase the expressiveness of the Rust language and trait system.

Closes #91611

[RFC 3185]: https://rust-lang.github.io/rfcs/3185-static-async-fn-in-trait.html
[RFC 3425]: https://rust-lang.github.io/rfcs/3425-return-position-impl-trait-in-traits.html

## Updates from thread

The thread has covered two major concerns:

* [Given that we don't have RTN, what should we stabilize?](https://github.com/rust-lang/rust/pull/115822#issuecomment-1731149475) -- proposed resolution is [adding a lint](https://github.com/rust-lang/rust/pull/115822#issuecomment-1728354622) and [careful messaging](https://github.com/rust-lang/rust/pull/115822#issuecomment-1731136169)
* [Interaction between outlives bounds and capture semantics](https://github.com/rust-lang/rust/pull/115822#issuecomment-1731153952) -- This is fixable in a forwards-compatible way via #116040, and also eventually via ATPIT.

## Stabilization Summary

This stabilization allows the following examples to work.

### Example of return-position `impl Trait` in trait definition

```rust
trait Bar {
    fn bar(self) -> impl Send;
}
```

This declares a trait method that returns *some* type that implements `Send`.  It's similar to writing the following using an associated type, except that the associated type is anonymous.

```rust
trait Bar {
    type _0: Send;
    fn bar(self) -> Self::_0;
}
```

### Example of return-position `impl Trait` in trait implementation

```rust
impl Bar for () {
    fn bar(self) -> impl Send {}
}
```

This defines a method implementation that returns an opaque type, just like [RPIT][RFC 1522] does, except that all in-scope lifetimes are captured in the opaque type (as is already true for `async fn` and as is expected to be true for RPIT in Rust Edition 2024), as described below.

[RFC 1522]: https://rust-lang.github.io/rfcs/1522-conservative-impl-trait.html

### Example of `async fn` in trait

```rust
trait Bar {
    async fn bar(self);
}

impl Bar for () {
    async fn bar(self) {}
}
```

This declares a trait method that returns *some* [`Future`](https://doc.rust-lang.org/core/future/trait.Future.html) and a corresponding method implementation.  This is equivalent to writing the following using RPITIT.

```rust
use core::future::Future;

trait Bar {
    fn bar(self) -> impl Future<Output = ()>;
}

impl Bar for () {
    fn bar(self) -> impl Future<Output = ()> { async {} }
}
```

The desirability of this desugaring being available is part of why RPITIT and AFIT are being proposed for stabilization at the same time.

## Motivation

Long ago, Rust added [RPIT][RFC 1522] and [`async`/`await`][RFC 2394].  These are major features that are widely used in the ecosystem.  However, until now, these feature could not be used in *traits* and trait implementations.  This left traits as a kind of second-class citizen of the language.  This stabilization fixes that.

[RFC 2394]: https://rust-lang.github.io/rfcs/2394-async_await.html

### `async fn` in trait

Async/await allows users to write asynchronous code much easier than they could before. However, it doesn't play nice with other core language features that make Rust the great language it is, like traits. Support for `async fn` in traits has been long anticipated and was not added before due to limitations in the compiler that have now been lifted.

`async fn` in traits will unblock a lot of work in the ecosystem and the standard library. It is not currently possible to write a trait that is implemented using `async fn`. The workarounds that exist are undesirable because they require allocation and dynamic dispatch, and any trait that uses them will become obsolete once native `async fn` in trait is stabilized.

We also have ample evidence that there is demand for this feature from the [`async-trait` crate][async-trait], which emulates the feature using dynamic dispatch. The async-trait crate is currently the #5 async crate on crates.io ranked by recent downloads, receiving over 78M all-time downloads. According to a [recent analysis][async-trait-analysis], 4% of all crates use the `#[async_trait]` macro it provides, representing 7% of all function and method signatures in trait definitions on crates.io. We think this is a *lower bound* on demand for the feature, because users are unlikely to use `#[async_trait]` on public traits on crates.io for the reasons already given.

[async-trait]: https://crates.io/crates/async-trait
[async-trait-analysis]: https://rust-lang.zulipchat.com/#narrow/stream/315482-t-compiler.2Fetc.2Fopaque-types/topic/RPIT.20capture.20rules.20.28capturing.20everything.29/near/389496292

### Return-position `impl Trait` in trait

`async fn` always desugars to a function that returns `impl Future`.

```rust!
async fn foo() -> i32 { 100 }

// Equivalent to:
fn foo() -> impl Future<Output = i32> { async { 100 } }
```

All `async fn`s today can be rewritten this way. This is useful because it allows adding behavior that runs at the time of the function call, before the first `.await` on the returned future.

In the spirit of supporting the same set of features on `async fn` in traits that we do outside of traits, it makes sense to stabilize this as well. As described by the [RPITIT RFC][rpitit-rfc], this includes the ability to mix and match the equivalent forms in traits and their corresponding impls:

```rust!
trait Foo {
    async fn foo(self) -> i32;
}

// Can be implemented as:
impl Foo for MyType {
    fn foo(self) -> impl Future<Output = i32> {
        async { 100 }
    }
}
```

Return-position `impl Trait` in trait is useful for cases beyond async, just as regular RPIT is. As a simple example, the RFC showed an alternative way of writing the `IntoIterator` trait with one fewer associated type.

```rust!
trait NewIntoIterator {
    type Item;
    fn new_into_iter(self) -> impl Iterator<Item = Self::Item>;
}

impl<T> NewIntoIterator for Vec<T> {
    type Item = T;
    fn new_into_iter(self) -> impl Iterator<Item = T> {
        self.into_iter()
    }
}
```

[rpitit-rfc]: https://rust-lang.github.io/rfcs/3425-return-position-impl-trait-in-traits.html

## Major design decisions

This section describes the major design decisions that were reached after the RFC was accepted:

- EDIT: Lint against async fn in trait definitions

    - Until the [send bound problem](https://smallcultfollowing.com/babysteps/blog/2023/02/01/async-trait-send-bounds-part-1-intro/) is resolved, the use of `async fn` in trait definitions could lead to a bad experience for people using work-stealing executors (by far the most popular choice). However, there are significant use cases for which the current support is all that is needed (single-threaded executors, such as those used in embedded use cases, as well as thread-per-core setups). We are prioritizing serving users well over protecting people from misuse, and therefore, we opt to stabilize the full range of functionality; however, to help steer people correctly, we are will issue a warning on the use of `async fn` in trait definitions that advises users about the limitations. (See [this summary comment](https://github.com/rust-lang/rust/pull/115822#issuecomment-1731149475) for the details of the concern, and [this comment](https://github.com/rust-lang/rust/pull/115822#issuecomment-1728354622) for more details about the reasoning that led to this conclusion.)

- Capture rules:

    - The RFC's initial capture rules for lifetimes in impls/traits were found to be imprecisely precise and to introduce various inconsistencies. After much discussion, the decision was reached to make `-> impl Trait` in traits/impls capture *all* in-scope parameters, including both lifetimes and types. This is a departure from the behavior of RPITs in other contexts; an RFC is currently being authored to change the behavior of RPITs in other contexts in a future edition.

    - Major discussion links:

        - [Lang team design meeting from 2023-07-26](https://hackmd.io/sFaSIMJOQcuwCdnUvCxtuQ?view)

- Refinement:

    - The [refinement RFC] initially proposed that impl signatures that are more specific than their trait are not allowed unless the `#[refine]` attribute was included, but left it as an open question how to implement this. The stabilized proposal is that it is not a hard error to omit `#[refine]`, but there is a lint which fires if the impl's return type is more precise than the trait. This greatly simplified the desugaring and implementation while still achieving the original goal of ensuring that users do not accidentally commit to a more specific return type than they intended.

    - Major discussion links:

        - [Zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/.60.23.5Brefine.5D.60.20as.20a.20lint)

[refinement RFC]: https://rust-lang.github.io/rfcs/3245-refined-impls.html

## What is stabilized

### Async functions in traits and trait implementations

* `async fn` are now supported in traits and trait implementations.
* Associated functions in traits that are `async` may have default bodies.

### Return-position impl trait in traits and trait implementations

* Return-position `impl Trait`s are now supported in traits and trait implementations.
    * Return-position `impl Trait` in implementations are treated like regular return-position `impl Trait`s, and therefore behave according to the same inference rules for hidden type inference and well-formedness.
* Associated functions in traits that name return-position `impl Trait`s may have default bodies.
* Implementations may provide either concrete types or `impl Trait` for each corresponding `impl Trait` in the trait method signature.

For a detailed exploration of the technical implementation of return-position `impl Trait` in traits, see [the dev guide](https://rustc-dev-guide.rust-lang.org/return-position-impl-trait-in-trait.html).

### Mixing `async fn` in trait and return-position `impl Trait` in trait

A trait function declaration that is `async fn ..() -> T` may be satisfied by an implementation function that returns `impl Future<Output = T>`, or vice versa.

```rust
trait Async {
    async fn hello();
}

impl Async for () {
    fn hello() -> impl Future<Output = ()> {
        async {}
    }
}

trait RPIT {
    fn hello() -> impl Future<Output = String>;
}

impl RPIT for () {
    async fn hello() -> String {
        "hello".to_string()
    }
}
```

### Return-position `impl Trait` in traits and trait implementations capture all in-scope lifetimes

Described above in "major design decisions".

### Return-position `impl Trait` in traits are "always revealing"

When a trait uses `-> impl Trait` in return position, it logically desugars to an associated type that represents the return (the actual implementation in the compiler is different, as described below). The value of this associated type is determined by the actual return type written in the impl; if the impl also uses `-> impl Trait` as the return type, then the value of the associated type is an opaque type scoped to the impl method (similar to what you would get when calling an inherent function returning `-> impl Trait`). As with any associated type, the value of this special associated type can be revealed by the compiler if the compiler can figure out what impl is being used.

For example, given this trait:

```rust
trait AsDebug {
    fn as_debug(&self) -> impl Debug;
}
```

A function working with the trait generically is only able to see that the return value is `Debug`:

```rust
fn foo<T: AsDebug>(t: &T) {
    let u = t.as_debug();
    println!("{}", u); // ERROR: `u` is not known to implement `Display`
}
```

But if a function calls `as_debug` on a known type (say, `u32`), it may be able to resolve the return type more specifically, if that implementation specifies a concrete type as well:

```rust
impl AsDebug for u32 {
    fn as_debug(&self) -> u32 {
        *self
    }
}

fn foo(t: &u32) {
    let u: u32 = t.as_debug(); // OK!
    println!("{}",  t.as_debug()); // ALSO OK (since `u32: Display`).
}
```

The return type used in the impl therefore represents a **semver binding** promise from the impl author that the return type of `<u32 as AsDebug>::as_debug` will not change. This could come as a surprise to users, who might expect that they are free to change the return type to any other type that implements `Debug`. To address this, we include a [`refining_impl_trait` lint](https://github.com/rust-lang/rust/pull/115582) that warns if the impl uses a specific type -- the `impl AsDebug for u32` above, for example, would toggle the lint.

The lint message explains what is going on and encourages users to `allow` the lint to indicate that they meant to refine the return type:

```rust
impl AsDebug for u32 {
    #[allow(refining_impl_trait)]
    fn as_debug(&self) -> u32 {
        *self
    }
}
```

[RFC #3245](https://github.com/rust-lang/rfcs/pull/3245) proposed a new attribute, `#[refine]`, that could also be used to "opt-in" to refinements like this (and which would then silence the lint). That RFC is not currently implemented -- the `#[refine]` attribute is also expected to reveal other details from the signature and has not yet been fully implemented.

### Return-position `impl Trait` and `async fn` in traits are opted-out of object safety checks when the parent function has `Self: Sized`

```rust
trait IsObjectSafe {
    fn rpit() -> impl Sized where Self: Sized;
    async fn afit() where Self: Sized;
}
```

Traits that mention return-position `impl Trait` or `async fn` in trait when the associated function includes a `Self: Sized` bound will remain object safe. That is because the associated function that defines them will be opted-out of the vtable of the trait, and the associated types will be unnameable from any trait object.

This can alternatively be seen as a consequence of https://github.com/rust-lang/rust/pull/112319#issue-1742251747 and the desugaring of return-position `impl Trait` in traits to associated types which inherit the where-clauses of the associated function that defines them.

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

### Dynamic dispatch

As stabilized, traits containing RPITIT and AFIT are **not dyn compatible**. This means that you cannot create `dyn Trait` objects from them and can only use static dispatch. The reason for this limitation is that dynamic dispatch support for RPITIT and AFIT is more complex than static dispatch, as described on the [async fundamentals page](https://rust-lang.github.io/async-fundamentals-initiative/evaluation/challenges/dyn_traits.html). The primary challenge to using `dyn Trait` in today's Rust is that **`dyn Trait` today must list the values of all associated types**. This means you would have to write `dyn for<'s> Trait<Foo<'s> = XXX>` where `XXX` is the future type defined by the impl, such as `F_A`. This is not only verbose (or impossible), it also uniquely ties the `dyn Trait` to a particular impl, defeating the whole point of `dyn Trait`.

The precise design for handling dynamic dispatch is not yet determined. Top candidates include:

- [callee site selection][], in which we permit unsized return values so that the return type for an `-> impl Foo` method be can be `dyn Foo`, but then users must specify the type of wide pointer at the call-site in some fashion.

- [`dyn*`][], where we create a built-in encapsulation of a "wide pointer" and map the associated type corresponding to an RPITIT to the corresponding `dyn*` type (`dyn*` itself is not exposed to users as a type in this proposal, though that could be a future extension).

[callee site selection]: https://smallcultfollowing.com/babysteps/blog/2022/09/21/dyn-async-traits-part-9-callee-site-selection/

[`dyn*`]: https://smallcultfollowing.com/babysteps/blog/2022/03/29/dyn-can-we-make-dyn-sized/

### Where-clause bounds on return-position `impl Trait` in traits or async futures (RTN/ART)

One limitation of async fn in traits and RPITIT as stabilized is that there is no way for users to write code that adds additional bounds beyond those listed in the `-> impl Trait`. The most common example is wanting to write a generic function that requires that the future returned from an `async fn` be `Send`:

```rust
trait Greet {
    async fn greet(&self);
}

fn greet_in_parallel<G: Greet>(g: &G) {
    runtime::spawn(async move {
        g.greet().await; //~ ERROR: future returned by `greet` may not be `Send`
    })
}
```

Currently, since the associated types added for the return type are anonymous, there is no where-clause that could be added to make this code compile.

There have been various proposals for how to address this problem (e.g., [return type notation][rtn] or having an annotation to give a name to the associated type), but we leave the selection of one of those mechanisms to future work.

[rtn]: https://smallcultfollowing.com/babysteps/blog/2023/02/13/return-type-notation-send-bounds-part-2/

In the meantime, there are workarounds that one can use to address this problem, listed below.

#### Require all futures to be `Send`

For many users, the trait may only ever be used with `Send` futures, in which case one can write an explicit `impl Future + Send`:

```rust
trait Greet {
    fn greet(&self) -> impl Future<Output = ()> + Send;
}
```

The nice thing about this is that it is still compatible with using `async fn` in the trait impl. In the async working group case studies, we found that this could work for the [builder provider API](https://rust-lang.github.io/async-fundamentals-initiative/evaluation/case-studies/builder-provider-api.html). This is also the default approach used by the `#[async_trait]` crate which, as we have noted, has seen widespread adoption.

#### Avoid generics

This problem only applies when the `Self` type is generic. If the `Self` type is known, then the precise return type from an `async fn` is revealed, and the `Send` bound can be inferred thanks to auto-trait leakage. Even in cases where generics may appear to be required, it is sometimes possible to rewrite the code to avoid them. The [socket handler refactor](https://rust-lang.github.io/async-fundamentals-initiative/evaluation/case-studies/socket-handler.html) case study provides one such example.

### Unify capture behavior for `-> impl Trait` in inherent methods and traits

As stabilized, the capture behavior for `-> impl Trait` in a trait (whether as part of an async fn or a RPITIT) captures all types and lifetimes, whereas the existing behavior for inherent methods only captures types and lifetimes that are explicitly referenced. Capturing all lifetimes in traits was necessary to avoid various surprising inconsistencies; the expressed intent of the lang team is to extend that behavior so that we also capture all lifetimes in inherent methods, which would create more consistency and also address a common source of user confusion, but that will have to happen over the 2024 edition. The RFC is in progress. Should we opt not to accept that RFC, we can bring the capture behavior for `-> impl Trait` into alignment in other ways as part of the 2024 edition.

### `impl_trait_projections`

Orthgonal to `async_fn_in_trait` and `return_position_impl_trait_in_trait`, since it can be triggered on stable code. This will be stabilized separately in [#115659](https://github.com/rust-lang/rust/pull/115659).

<details>
If we try to write this code without `impl_trait_projections`, we will get an error:

```rust
#![feature(async_fn_in_trait)]

trait Foo {
    type Error;
    async fn foo(&mut self) -> Result<(), Self::Error>;
}

impl<T: Foo> Foo for &mut T {
    type Error = T::Error;
    async fn foo(&mut self) -> Result<(), Self::Error> {
        T::foo(self).await
    }
}
```

The error relates to the use of `Self` in a trait impl when the self type has a lifetime. It can be worked around by rewriting the impl not to use `Self`:

```rust
#![feature(async_fn_in_trait)]

trait Foo {
    type Error;
    async fn foo(&mut self) -> Result<(), Self::Error>;
}

impl<T: Foo> Foo for &mut T {
    type Error = T::Error;
    async fn foo(&mut self) -> Result<(), <&mut T as Foo>::Error> {
        T::foo(self).await
    }
}
```
</details>

## Tests

Tests are generally organized between return-position `impl Trait` and `async fn` in trait, when the distinction matters.
* RPITIT: https://github.com/rust-lang/rust/tree/master/tests/ui/impl-trait/in-trait
* AFIT: https://github.com/rust-lang/rust/tree/master/tests/ui/async-await/in-trait

## Remaining bugs and open issues

* #112047: Indirection introduced by `async fn` and return-position `impl Trait` in traits may hide cycles in opaque types, causing overflow errors that can only be discovered by monomorphization.
* #111105 - `async fn` in trait is susceptible to issues with checking auto traits on futures' generators, like regular `async`. This is a manifestation of #110338.
    * This was deemed not blocking because fixing it is forwards-compatible, and regular `async` is subject to the same issues.
* #104689: `async fn` and return-position `impl Trait` in trait requires the late-bound lifetimes in a trait and impl function signature to be equal.
    * This can be relaxed in the future with a smarter lexical region resolution algorithm.
* #102527: Nesting return-position `impl Trait` in trait deeply may result in slow compile times.
    * This has only been reported once, and can be fixed in the future.
* #108362: Inference between return types and generics of a function may have difficulties when there's an `.await`.
    * This isn't related to AFIT (https://github.com/rust-lang/rust/issues/108362#issuecomment-1717927918) -- using traits does mean that there's possibly easier ways to hit it.
* #112626: Because `async fn` and return-position `impl Trait` in traits lower to associated types, users may encounter strange behaviors when implementing circularly dependent traits.
    * This is not specific to RPITIT, and is a limitation of associated types: https://github.com/rust-lang/rust/issues/112626#issuecomment-1603405105
* **(Nightly)** #108309: `async fn` and return-position `impl Trait` in trait do not support specialization. This was deemed not blocking, since it can be fixed in the future (e.g. #108321) and specialization is a nightly feature.

#### (Nightly) Return type notation bugs

RTN is not being stabilized here, but there are some interesting outstanding bugs. None of them are blockers for AFIT/RPITIT, but I'm noting them for completeness.

<details>

* #109924 is a bug that occurs when a higher-ranked trait bound has both inference variables and associated types. This is pre-existing -- RTN just gives you a more convenient way of producing them. This should be fixed by the new trait solver.
* #109924 is a manifestation of a more general issue with `async` and auto-trait bounds: #110338. RTN does not cause this issue, just allows us to put `Send` bounds on the anonymous futures that we have in traits.
* #112569 is a bug similar to associated type bounds, where nested bounds are not implied correctly.

</details>

## Alternatives

### Do nothing

We could choose not to stabilize these features. Users that can use the `#[async_trait]` macro would continue to do so. Library maintainers would continue to avoid async functions in traits, potentially blocking the stable release of many useful crates.

### Stabilize `impl Trait` in associated type instead

AFIT and RPITIT solve the problem of returning unnameable types from trait methods. It is also possible to solve this by using another unstable feature, `impl Trait` in an associated type. Users would need to define an associated type in both the trait and trait impl:

```rust!
trait Foo {
    type Fut<'a>: Future<Output = i32> where Self: 'a;
    fn foo(&self) -> Self::Fut<'_>;
}

impl Foo for MyType {
    type Fut<'a> where Self: 'a = impl Future<Output = i32>;
    fn foo(&self) -> Self::Fut<'_> {
        async { 42 }
    }
}
```

This also has the advantage of allowing generic code to bound the associated type. However, it is substantially less ergonomic than either `async fn` or `-> impl Future`, and users still expect to be able to use those features in traits. **Even if this feature were stable, we would still want to stabilize AFIT and RPITIT.**

That said, we can have both. `impl Trait` in associated types is desireable because it can be used in existing traits with explicit associated types, among other reasons. We *should* stabilize this feature once it is ready, but that's outside the scope of this proposal.

### Use the old capture semantics for RPITIT

We could choose to make the capture rules for RPITIT consistent with the existing rules for RPIT. However, there was strong consensus in a recent [lang team meeting](https://hackmd.io/sFaSIMJOQcuwCdnUvCxtuQ?view) that we should *change* these rules, and furthermore that new features should adopt the new rules.

This is consistent with the tenet in RFC 3085 of favoring ["Uniform behavior across editions"](https://rust-lang.github.io/rfcs/3085-edition-2021.html#uniform-behavior-across-editions) when possible. It greatly reduces the complexity of the feature by not requiring us to answer, or implement, the design questions that arise out of the interaction between the current capture rules and traits. This reduction in complexity – and eventual technical debt – is exactly in line with the motivation listed in the aforementioned RFC.

### Make refinement a hard error

Refinement (`refining_impl_trait`) is only a concern for library authors, and therefore doesn't really warrant making into a deny-by-default warning or an error.

Additionally, refinement is currently checked via a lint that compares bounds in the `impl Trait`s in the trait and impl syntactically. This is good enough for a warning that can be opted-out, but not if this were a hard error, which would ideally be implemented using fully semantic, implicational logic. This was implemented (#111931), but also is an unnecessary burden on the type system for little pay-off.

## History

- Dec 7, 2021: [RFC #3185: Static async fn in traits](https://rust-lang.github.io/rfcs/3185-static-async-fn-in-trait.html) merged
- Sep 9, 2022: [Initial implementation](https://github.com/rust-lang/rust/pull/101224) of AFIT and RPITIT landed
- Jun 13, 2023: [RFC #3425: Return position `impl Trait` in traits](https://rust-lang.github.io/rfcs/3425-return-position-impl-trait-in-traits.html) merged

<!--These will render pretty when pasted into github-->
Non-exhaustive list of PRs that are particularly relevant to the implementation:

- #101224
- #103491
- #104592
- #108141
- #108319
- #108672
- #112988
- #113182 (later made redundant by #114489)
- #113215
- #114489
- #115467
- #115582

Doc co-authored by `@nikomatsakis,` `@tmandry,` `@traviscross.` Thanks also to `@spastorino,` `@cjgillot` (for changes to opaque captures!), `@oli-obk` for many reviews, and many other contributors and issue-filers. Apologies if I left your name off 😺
2023-10-14 07:29:08 +00:00
..
assoc Move some tests around 2023-10-03 21:31:27 +00:00
attribute Move some tests around 2023-10-09 19:24:05 +00:00
char Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diff-markers Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issues Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
macro Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
mismatched-braces Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
raw Migrate rustc_parse to derive diagnostics 2023-02-06 14:40:35 +00:00
shebang Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
suggest_misplaced_generics fix formatting + test syntax 2023-02-01 18:11:37 +11:00
anon-enums-are-ambiguous.rs Add a test 2023-02-02 05:54:35 +00:00
ascii-only-character-escape.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ascii-only-character-escape.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-with-nonterminal-block.rs Support interpolated block for try and async 2023-07-22 15:22:12 +00:00
bad-char-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-char-literals.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-crate-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-crate-name.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-escape-suggest-raw-string.rs Use a better link 2023-06-10 14:46:11 -04:00
bad-escape-suggest-raw-string.stderr Use a better link 2023-06-10 14:46:11 -04:00
bad-fn-ptr-qualifier.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-fn-ptr-qualifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-fn-ptr-qualifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-if-statements.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-if-statements.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-interpolated-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-interpolated-block.stderr Add suggestion for bad block fragment error 2023-06-23 19:18:20 +00:00
bad-let-as-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-let-as-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lit-suffixes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-lit-suffixes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-match.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-match.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-name.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-pointer-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-pointer-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-recover-kw-after-impl.rs Do not eagerly recover for bad impl-trait in macros 2023-02-08 17:56:08 +00:00
bad-recover-ty-after-impl.rs Do not eagerly recover for bad impl-trait in macros 2023-02-08 17:56:08 +00:00
bad-struct-following-where.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-struct-following-where.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-value-ident-false.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-value-ident-false.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-value-ident-true.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-value-ident-true.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-struct-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-struct-body.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bastion-of-the-turbofish.rs Update bastion-of-the-turbofish.rs 2023-01-30 14:22:41 +00:00
better-expected.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
better-expected.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bind-struct-early-modifiers.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bind-struct-early-modifiers.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
block-no-opening-brace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
block-no-opening-brace.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-single-question-mark.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-single-question-mark.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-where-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-where-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-where.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime-where.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-obj-parens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-type-where.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-type-where.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
break-in-unlabeled-block-in-macro.rs Account for macros 2023-10-09 22:48:10 +00:00
break-in-unlabeled-block-in-macro.stderr Account for macros 2023-10-09 22:48:10 +00:00
break-in-unlabeled-block.fixed fix 2023-10-09 19:24:05 +00:00
break-in-unlabeled-block.rs Suggest labeling block if break is in bare block 2023-10-09 19:24:05 +00:00
break-in-unlabeled-block.stderr Suggest labeling block if break is in bare block 2023-10-09 19:24:05 +00:00
builtin-syntax.rs Add feature gate 2023-05-05 21:44:48 +02:00
builtin-syntax.stderr Add feature gate 2023-05-05 21:44:48 +02:00
byte-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
byte-literals.stderr Use a better link 2023-06-10 14:46:11 -04:00
byte-string-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
byte-string-literals.stderr Use a better link 2023-06-10 14:46:11 -04:00
can-begin-expr-check.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
can-begin-expr-check.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
chained-comparison-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
chained-comparison-suggestion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
circular_modules_hello.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
circular_modules_main.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
circular_modules_main.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
class-implements-bad-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-implements-bad-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
closure-return-syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
closure-return-syntax.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
column-offset-1-based.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
column-offset-1-based.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-param-decl-on-type-instead-of-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-param-decl-on-type-instead-of-impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
constraints-before-generic-args-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
constraints-before-generic-args-syntactic-pass.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-on-wrong-item-kind.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-on-wrong-item-kind.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-assoc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-assoc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-extern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-extern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
default.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
default.stderr Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
deli-ident-issue-1.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
deli-ident-issue-1.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
deli-ident-issue-2.rs add testcase for #104012 2023-01-26 10:52:57 +08:00
deli-ident-issue-2.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
do-catch-suggests-try.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
do-catch-suggests-try.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
do-not-suggest-semicolon-before-array.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
do-not-suggest-semicolon-before-array.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-after-struct-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-after-struct-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-eof.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-eof.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-extern-rbrace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-extern-rbrace.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-fn-rbrace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-fn-rbrace.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-mod-rbrace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-mod-rbrace.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-rbrace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-rbrace.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-semi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-semi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-struct-rbrace-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-struct-rbrace-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-struct-rbrace-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-struct-rbrace-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-comment-in-if-statement.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-comment-in-if-statement.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-comment-in-stmt.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-comment-in-stmt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-inside-trait-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-inside-trait-item.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dotdotdot-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dotdotdot-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double-pointer.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-visibility.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-visibility.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-where-clauses.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-where-clauses.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-trait-compatibility.rs Use smart-resolve when checking for trait in RHS of UFCS 2023-04-07 05:33:52 +00:00
dyn-trait-compatibility.stderr refactor(resolve): clean up the early error return caused by non-call 2023-05-10 22:35:01 +08:00
else-no-if.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
else-no-if.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
emoji-identifiers.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
emoji-identifiers.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-impl-semicolon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-impl-semicolon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
eq-less-to-less-eq.rs add hint for =< as <= 2023-05-05 11:17:14 -04:00
eq-less-to-less-eq.stderr add hint for =< as <= 2023-05-05 11:17:14 -04:00
expr-as-stmt-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-as-stmt-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-as-stmt.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-as-stmt.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-as-stmt.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
extern-abi-from-mac-literal-frag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-abi-raw-strings.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-abi-string-escaping.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-abi-syntactic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-unexpected-token.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-unexpected-token.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-expected-fn-or-brace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-expected-fn-or-brace.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-foreign-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-foreign-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-no-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-no-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
float-field-interpolated.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
float-field-interpolated.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
float-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
float-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
float-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-arg-doc-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-arg-doc-comment.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-body-eq-expr-semi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-body-eq-expr-semi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-body-optional-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-body-optional-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-body-optional-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-colon-return-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-colon-return-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-def.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-def.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-fun.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-fun.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-func.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-func.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-function.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-defined-using-function.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-field-parse-error-ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-field-parse-error-ice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-header-semantic-fail.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
fn-header-semantic-fail.stderr Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
fn-header-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-returns-fn-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-const-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-const-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-const-syntactic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-const-syntactic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-static-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-static-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-static-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-ty-semantic-fail.rs Fix debug ICE for extern type with where clauses 2023-06-12 15:15:45 +08:00
foreign-ty-semantic-fail.stderr Fix debug ICE for extern type with where clauses 2023-06-12 15:15:45 +08:00
foreign-ty-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-statics.rs Add UI tests for generic const items 2023-07-28 22:23:20 +02:00
generic-statics.stderr Add UI tests for generic const items 2023-07-28 22:23:20 +02:00
ident-recovery.rs feat: implement error recovery in expected_ident_found 2023-03-20 20:54:41 +13:00
ident-recovery.stderr feat: implement error recovery in expected_ident_found 2023-03-20 20:54:41 +13:00
if-block-unreachable-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
if-in-in.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
if-in-in.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
if-in-in.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-const-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-const-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-const-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-fn-no-body-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-fn-no-body-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-fn-no-body-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-type-no-body-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-type-no-body-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-type-no-body-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-on-unsized-typo.rs Recover impl<T ?Sized> correctly 2023-05-15 17:14:59 +00:00
impl-on-unsized-typo.stderr Recover impl<T ?Sized> correctly 2023-05-15 17:14:59 +00:00
impl-parsing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-parsing.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
impl-qpath.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-from-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-from-path.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-from-rename.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-from-rename.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-glob-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-glob-path.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-glob-rename.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import-glob-rename.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
increment-autofix-2.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
increment-autofix-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
increment-autofix-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
increment-autofix.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
increment-autofix.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
increment-autofix.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr-after-doc-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr-after-doc-comment.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr-in-trait-def.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
int-literal-too-large-span.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
int-literal-too-large-span.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
integer-literal-start-ident.rs feat/refactor: improve errors in case of ident with number at start 2023-03-09 21:29:32 +13:00
integer-literal-start-ident.stderr refactor: improve "ident starts with number" error 2023-03-19 20:24:06 +13:00
intersection-patterns-1.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intersection-patterns-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intersection-patterns-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intersection-patterns-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intersection-patterns-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inverted-parameters.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inverted-parameters.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-parse-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39616.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39616.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-49257.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-49257.stderr Fix suggestion for matching struct with .. on both ends 2023-06-03 15:02:13 +08:00
issue-61858.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61858.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68091-unicode-ident-after-if.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68091-unicode-ident-after-if.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68092-unicode-ident-after-incomplete-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68092-unicode-ident-after-incomplete-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68987-unmatch-issue-1.rs add testcase for #104012 2023-01-26 10:52:57 +08:00
issue-68987-unmatch-issue-1.stderr Improve unexpected close and mismatch delimiter hint in TokenTreesReader 2023-01-27 17:45:41 +08:00
issue-68987-unmatch-issue-2.rs add testcase for #104012 2023-01-26 10:52:57 +08:00
issue-68987-unmatch-issue-2.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
issue-68987-unmatch-issue-3.rs add testcase for #104012 2023-01-26 10:52:57 +08:00
issue-68987-unmatch-issue-3.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
issue-68987-unmatch-issue.rs add testcase for #104012 2023-01-26 10:52:57 +08:00
issue-68987-unmatch-issue.stderr Improve unexpected close and mismatch delimiter hint in TokenTreesReader 2023-01-27 17:45:41 +08:00
issue-81804.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
issue-81804.stderr remove duplicated diagnostic for unclosed delimiter 2023-02-28 07:57:17 +00:00
issue-81827.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
issue-81827.stderr remove duplicated diagnostic for unclosed delimiter 2023-02-28 07:57:17 +00:00
issue-87694-duplicated-pub.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87694-duplicated-pub.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87694-misplaced-pub.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87694-misplaced-pub.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90728.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90728.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91421.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91421.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99625-enum-struct-mutually-exclusive.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99625-enum-struct-mutually-exclusive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99625-enum-struct-mutually-exclusive.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99910-const-let-mutually-exclusive.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99910-const-let-mutually-exclusive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99910-const-let-mutually-exclusive.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100197-mut-let.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100197-mut-let.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100197-mut-let.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101477-enum.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101477-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101477-enum.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
issue-101477-let.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101477-let.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101477-let.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102806.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102806.stderr Recover _ as .. in field pattern 2023-02-02 06:10:02 +00:00
issue-103143.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103143.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103381.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103381.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103381.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103425.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103425.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103451.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
issue-103451.stderr remove duplicated diagnostic for unclosed delimiter 2023-02-28 07:57:17 +00:00
issue-103748-ICE-wrong-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103748-ICE-wrong-braces.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104620.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104620.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104867-inc-dec-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104867-inc-dec-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104867-inc-dec.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104867-inc-dec.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105366.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105366.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105366.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105634.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-107705.rs check if snippet is ) 2023-03-03 14:34:11 +09:00
issue-107705.stderr check if snippet is ) 2023-03-03 14:34:11 +09:00
issue-108495-dec.rs micro fmt changes 2023-02-28 19:28:14 +04:00
issue-108495-dec.stderr micro fmt changes 2023-02-28 19:28:14 +04:00
issue-112188.fixed Fix suggestion for matching struct with .. on both ends 2023-06-03 15:02:13 +08:00
issue-112188.rs Fix suggestion for matching struct with .. on both ends 2023-06-03 15:02:13 +08:00
issue-112188.stderr Fix suggestion for matching struct with .. on both ends 2023-06-03 15:02:13 +08:00
issue-113342.rs Fix the issue of wrong diagnosis for extern pub fn 2023-07-05 16:25:46 +08:00
issue-113342.stderr Fix the issue of wrong diagnosis for extern pub fn 2023-07-05 16:25:46 +08:00
item-free-const-no-body-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-const-no-body-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-const-no-body-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-static-no-body-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-static-no-body-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-static-no-body-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-type-bounds-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-type-bounds-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-type-bounds-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-kw-case-mismatch.fixed Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
item-kw-case-mismatch.rs Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
item-kw-case-mismatch.stderr Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
item-needs-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-needs-block.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-abstract.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-abstract.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-as-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-as-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-box-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-box-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-break-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-break-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-const-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-const-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-continue-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-continue-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-else-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-else-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-enum-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-enum-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-final.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-final.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-fn-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-fn-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-for-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-for-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-if-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-if-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-impl-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-impl-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-in-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-in-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-let-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-let-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-loop-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-loop-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-match-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-match-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-mod-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-mod-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-move-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-move-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-mut-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-mut-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-override.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-override.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-pub-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-pub-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-ref-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-ref-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-return-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-return-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-static-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-static-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-struct-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-struct-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-trait-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-trait-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-try-as-identifier-edition2018.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-try-as-identifier-edition2018.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-type-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-type-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-typeof.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-typeof.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-union-as-identifier.rs Parse unnamed fields and anonymous structs or unions 2023-08-24 11:17:54 +08:00
keyword-unsafe-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-unsafe-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-use-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-use-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-where-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-where-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-while-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-while-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keywords-followed-by-double-colon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keywords-followed-by-double-colon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kw-in-trait-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kw-in-trait-bounds.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
label-after-block-like.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
label-after-block-like.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
label-is-actually-char.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
label-is-actually-char.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
labeled-no-colon-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
labeled-no-colon-expr.stderr Add suggestion for bad block fragment error 2023-06-23 19:18:20 +00:00
let-binop.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
let-binop.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
let-binop.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime_starts_expressions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime_starts_expressions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-in-pattern-recover.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-in-pattern-recover.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-in-pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-in-pattern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-semicolon.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-semicolon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-semicolon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lit-err-in-macro.rs Handle interpolated literal errors 2023-06-15 01:55:37 +00:00
lit-err-in-macro.stderr Handle interpolated literal errors 2023-06-15 01:55:37 +00:00
macro-bad-delimiter-ident.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-bad-delimiter-ident.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-braces-dot-question.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-keyword.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-keyword.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-mismatched-delim-brace-paren.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-mismatched-delim-brace-paren.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-mismatched-delim-paren-brace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-mismatched-delim-paren-brace.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
macros-no-semicolon-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros-no-semicolon-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros-no-semicolon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros-no-semicolon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-arm-without-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-arm-without-braces.stderr generalize help message 2023-02-26 11:58:49 +01:00
match-arrows-block-then-binop.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-arrows-block-then-binop.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-refactor-to-expr.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-refactor-to-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-refactor-to-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mbe_missing_right_paren.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
mbe_missing_right_paren.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
method-call-on-struct-literal-in-if-condition.rs Detect struct literal needing parentheses 2023-01-11 16:53:21 +00:00
method-call-on-struct-literal-in-if-condition.stderr reword the message to suggest surrounding with parentheses 2023-06-10 06:28:35 +08:00
mismatched-delim-brace-empty-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mismatched-delim-brace-empty-block.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing_right_paren.rs remove duplicated diagnostic for unclosed delimiter 2023-02-28 07:57:17 +00:00
missing_right_paren.stderr remove duplicated diagnostic for unclosed delimiter 2023-02-28 07:57:17 +00:00
missing-closing-angle-bracket-eq-constraint.rs Don't expose type parameters and implementation details from macro expansion 2023-02-09 15:15:15 +08:00
missing-closing-angle-bracket-eq-constraint.stderr Don't expose type parameters and implementation details from macro expansion 2023-02-09 15:15:15 +08:00
missing-closing-angle-bracket-struct-field-ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-closing-angle-bracket-struct-field-ty.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-expression-in-for-loop.rs Add ui test for missing expression in for loop 2023-02-05 17:33:17 +03:00
missing-expression-in-for-loop.stderr Add ui test for missing expression in for loop 2023-02-05 17:33:17 +03:00
missing-fat-arrow.rs review comments 2023-10-04 01:35:07 +00:00
missing-fat-arrow.stderr review comments 2023-10-04 01:35:07 +00:00
missing-semicolon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-semicolon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
misspelled-macro-rules.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
misspelled-macro-rules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
misspelled-macro-rules.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod_file_not_exist_windows.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod_file_not_exist_windows.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod_file_not_exist.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod_file_not_exist.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod_file_with_path_attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod_file_with_path_attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multibyte-char-use-seperator-issue-80134.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multibyte-char-use-seperator-issue-80134.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiline-comment-line-tracking.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiline-comment-line-tracking.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multitrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multitrait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mut-patterns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mut-patterns.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-bad-turbofish.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-bad-turbofish.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-missing-closing-angle-bracket.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-missing-closing-angle-bracket.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-4.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-binary-float-literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-binary-float-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-const-fn-in-extern-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-const-fn-in-extern-block.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-hex-float-literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-hex-float-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unsafe-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unsafe-self.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-a-pred.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-a-pred.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nt-parsing-has-recovery.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nt-parsing-has-recovery.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
numeric-lifetime.rs Revert "Don't recover lifetimes/labels containing emojis as character literals" 2023-04-10 06:52:41 +00:00
numeric-lifetime.stderr Revert "Don't recover lifetimes/labels containing emojis as character literals" 2023-04-10 06:52:41 +00:00
obsolete-syntax-impl-for-dotdot.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
obsolete-syntax-impl-for-dotdot.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
old-suffixes-are-really-forbidden.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
old-suffixes-are-really-forbidden.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
omitted-arg-in-item-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
omitted-arg-in-item-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
operator-associativity.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
paamayim-nekudotayim.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
paamayim-nekudotayim.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parse-assoc-type-lt.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parse-error-correct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parse-error-correct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parse-panic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parser-recovery-1.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
parser-recovery-1.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
parser-recovery-2.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
parser-recovery-2.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
parser-unicode-whitespace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-3.rs Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
pat-lt-bracket-3.stderr Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
pat-lt-bracket-4.rs Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
pat-lt-bracket-4.stderr Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
pat-lt-bracket-5.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-5.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-6.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-6.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-7.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-7.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ranges-4.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ref-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-ref-enum.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-tuple-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-tuple-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-tuple-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-tuple-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-tuple-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-method-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-method-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-1.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-3.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
public-instead-of-pub.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualified-path-in-turbofish.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualified-path-in-turbofish.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualified-path-in-turbofish.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range_inclusive_dotdotdot.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range_inclusive_dotdotdot.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range_inclusive.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range_inclusive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range_inclusive.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-4.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-inclusive-extra-equals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-inclusive-extra-equals.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ranges-precedence.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-assoc-const-constraint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-assoc-const-constraint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-assoc-eq-missing-term.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-assoc-eq-missing-term.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-assoc-lifetime-constraint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-assoc-lifetime-constraint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-const-async-fn-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-const-async-fn-ptr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-enum2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-enum2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-enum.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-field-extra-angle-brackets-in-struct-with-a-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-field-extra-angle-brackets-in-struct-with-a-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-field-extra-angle-brackets.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-field-extra-angle-brackets.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-field-semi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-field-semi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-fn-ptr-with-generics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-fn-ptr-with-generics.stderr Add feature gate for non_lifetime_binders 2023-02-16 03:39:58 +00:00
recover-fn-trait-from-fn-kw.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-fn-trait-from-fn-kw.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-for-loop-parens-around-head.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-for-loop-parens-around-head.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-from-bad-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-from-bad-variant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-from-homoglyph.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-from-homoglyph.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-labeled-non-block-expr.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-labeled-non-block-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-labeled-non-block-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-missing-semi-before-item.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-missing-semi-before-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-missing-semi-before-item.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-missing-semi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-missing-semi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-quantified-closure.rs fix parser mistaking const closures for const item 2023-02-01 06:44:30 +00:00
recover-quantified-closure.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
recover-range-pats.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-range-pats.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
recover-ref-dyn-mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-ref-dyn-mut.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-struct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-tuple-pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-tuple-pat.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-tuple.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recover-unticked-labels.fixed Recover labels written as identifiers 2023-01-13 09:18:36 +00:00
recover-unticked-labels.rs Recover labels written as identifiers 2023-01-13 09:18:36 +00:00
recover-unticked-labels.stderr Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
recover-where-clause-before-tuple-struct-body-0.fixed parser: recover from where clauses placed before tuple struct bodies 2023-01-11 17:54:48 +01:00
recover-where-clause-before-tuple-struct-body-0.rs parser: recover from where clauses placed before tuple struct bodies 2023-01-11 17:54:48 +01:00
recover-where-clause-before-tuple-struct-body-0.stderr parser: recover from where clauses placed before tuple struct bodies 2023-01-11 17:54:48 +01:00
recover-where-clause-before-tuple-struct-body-1.rs parser: recover from where clauses placed before tuple struct bodies 2023-01-11 17:54:48 +01:00
recover-where-clause-before-tuple-struct-body-1.stderr parser: recover from where clauses placed before tuple struct bodies 2023-01-11 17:54:48 +01:00
recovered-struct-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recovered-struct-variant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
regions-out-of-scope-slice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
regions-out-of-scope-slice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-box.fixed Add recovery for use of removed box syntax 2023-03-12 13:26:37 +00:00
removed-syntax-box.rs Add recovery for use of removed box syntax 2023-03-12 13:26:37 +00:00
removed-syntax-box.stderr Add recovery for use of removed box syntax 2023-03-12 13:26:37 +00:00
removed-syntax-closure-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-closure-lifetime.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-enum-newtype.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-enum-newtype.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-field-let-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-field-let-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-field-let.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-field-let.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-field-semicolon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-field-semicolon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-fixed-vec.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-fixed-vec.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-fn-sigil.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-fn-sigil.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-mode.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-mode.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-mut-vec-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-mut-vec-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-mut-vec-ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-mut-vec-ty.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-ptr-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-ptr-lifetime.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-record.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-record.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-static-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-static-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-uniq-mut-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-uniq-mut-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-uniq-mut-ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-uniq-mut-ty.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-with-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-with-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-with-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removed-syntax-with-2.stderr Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
require-parens-for-chained-comparison.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
require-parens-for-chained-comparison.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-in-function-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-in-function-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-param-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-param-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-param-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
semi-after-closure-in-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
several-carriage-returns-in-doc-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
several-carriage-returns-in-doc-comment.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
similar-tokens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
similar-tokens.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slowparse-bstring.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slowparse-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stmt_expr_attrs_placement.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stmt_expr_attrs_placement.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stripped-nested-outline-mod-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-default-values-and-missing-field-separator.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-default-values-and-missing-field-separator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-default-values-and-missing-field-separator.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-field-numeric-shorthand.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-field-numeric-shorthand.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-filed-with-attr.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-filed-with-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-filed-with-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-in-for.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-in-for.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-in-if.rs Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-in-if.stderr Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-in-match-discriminant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-in-match-discriminant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-in-match-guard.rs Allow stuct literals in if let guards 2023-08-28 10:31:45 +01:00
struct-literal-in-while.rs Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-in-while.stderr Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-restrictions-in-lamda.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-restrictions-in-lamda.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
struct-literal-variant-in-if.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-variant-in-if.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-assoc-const.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-assoc-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-assoc-const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-const-for-global-var.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-const-for-global-var.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-removing-semicolon-after-impl-trait-items.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-removing-semicolon-after-impl-trait-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-removing-semicolon-after-impl-trait-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-semi-in-array.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-semi-in-array.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-semicolon-before-array.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-semicolon-before-array.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-semicolon-before-array.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ternary_operator.rs Remove unnecessary maybe_ternary_lo field 2023-07-25 18:37:56 +00:00
ternary_operator.stderr Remove unnecessary maybe_ternary_lo field 2023-07-25 18:37:56 +00:00
trailing-carriage-return-in-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-carriage-return-in-string.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-plus-in-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-question-in-macro-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-question-in-macro-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-question-in-type.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-question-in-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-question-in-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-bounds-not-on-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-bounds-not-on-impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-item-with-defaultness-fail-semantic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-item-with-defaultness-fail-semantic.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-item-with-defaultness-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-bad-parens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-bad-parens.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-delimiters.rs Fix bad suggestion when wrong parentheses around a dyn trait 2023-08-16 00:26:10 +08:00
trait-object-delimiters.stderr Fix bad suggestion when wrong parentheses around a dyn trait 2023-08-16 00:26:10 +08:00
trait-object-lifetime-parens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-lifetime-parens.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-polytrait-priority.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-polytrait-priority.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-trait-parens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-trait-parens.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-plusequal-splitting.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-pub-assoc-const.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-assoc-const.stderr Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-assoc-ty.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-assoc-ty.stderr Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-method.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-method.stderr Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
try-with-nonterminal-block.rs Support interpolated block for try and async 2023-07-22 15:22:12 +00:00
type-ascription-in-pattern.rs Parse and recover from type ascription in patterns 2023-02-02 17:18:48 +00:00
type-ascription-in-pattern.stderr Parse and recover from type ascription in patterns 2023-02-02 17:18:48 +00:00
type-parameters-in-field-exprs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-parameters-in-field-exprs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typod-const-in-const-param-def.rs Recover upon encountering mistyped Const in const param def 2023-05-28 16:55:21 +08:00
typod-const-in-const-param-def.stderr Recover upon encountering mistyped Const in const param def 2023-05-28 16:55:21 +08:00
unbalanced-doublequote.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbalanced-doublequote.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unclosed_delim_mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unclosed_delim_mod.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unclosed-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unclosed-braces.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unclosed-delimiter-in-dep.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
unclosed-delimiter-in-dep.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
underscore_item_not_const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore_item_not_const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-float.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-float.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-string.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-character-literal.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-character-literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-character-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-chars.rs Add double-equals homoglyph 2023-01-19 02:25:55 +00:00
unicode-chars.stderr Add double-equals homoglyph 2023-01-19 02:25:55 +00:00
unicode-control-codepoints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-control-codepoints.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-quote-chars.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode-quote-chars.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-delimiter-at-end-of-file.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-delimiter-at-end-of-file.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-langle-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-langle-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-langle-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-langle-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnecessary-let.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnecessary-let.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-foreign-mod-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-foreign-mod-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-foreign-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-foreign-mod.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-mod.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsized2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsized2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsized.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-as-where-use-ends-with-mod-sep.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-as-where-use-ends-with-mod-sep.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-colon-as-mod-sep.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-colon-as-mod-sep.stderr Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
use-ends-with-mod-sep.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-ends-with-mod-sep.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-unclosed-brace.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
use-unclosed-brace.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
utf8_idents-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
utf16-be-without-bom.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
utf16-be-without-bom.stderr Detect extra space in keyword for better hint 2023-07-04 18:13:31 +08:00
utf16-le-without-bom.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
utf16-le-without-bom.stderr Detect extra space in keyword for better hint 2023-07-04 18:13:31 +08:00
variadic-ffi-nested-syntactic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variadic-ffi-nested-syntactic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variadic-ffi-semantic-restrictions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variadic-ffi-semantic-restrictions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variadic-ffi-syntactic-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
virtual-structs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
virtual-structs.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
where_with_bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
where_with_bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
where-clauses-no-bounds-or-predicates.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
where-clauses-no-bounds-or-predicates.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
while-if-let-without-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
while-if-let-without-body.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrong-escape-of-curly-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrong-escape-of-curly-braces.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00