rust/tests/ui
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
..
abi Rollup merge of #116263 - ferrocene:pa-more-bare-metal-fixes, r=oli-obk 2023-09-29 22:27:52 +02:00
alloc-error Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
allocator Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
annotate-snippet Make --error-format human-annotate-rs handle multiple files 2023-07-24 16:29:58 +02:00
anon-params Reduce arbitrary self type suggestions 2023-08-03 10:34:57 +00:00
argument-suggestions Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
array-slice-vec Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
asm Use pushsection/popsection 2023-10-06 11:02:11 +00:00
associated-consts Rollup merge of #116428 - Alexendoo:note-duplicate-diagnostics, r=compiler-errors,estebank 2023-10-05 19:24:35 +02:00
associated-inherent-types remove trailing dots 2023-10-08 10:06:17 +00:00
associated-item review comments: account for generics 2023-01-11 21:30:32 +00:00
associated-type-bounds Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
associated-types Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
async-await Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
attributes Return ident for ExprField and PatField HIR nodes 2023-09-01 06:36:02 +05:30
auto-traits Gate against auto traits pre-expansion 2023-10-03 19:12:00 +00:00
autoref-autoderef Don't structurally resolve during method ambiguity in probe 2023-06-22 23:31:06 +00:00
auxiliary Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
bench Move /src/test to /tests 2023-01-11 09:32:08 +00:00
binding Add more if let guard tests 2023-09-19 12:48:40 +00:00
binop Improve diagnostic for wrong borrow on binary operations 2023-08-01 10:08:17 +02:00
blind Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
block-result Point to where missing return type should go 2023-10-04 21:09:54 +00:00
borrowck Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
box Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
btreemap use maybe_body_owned_by for closure 2023-07-14 07:12:35 +08:00
builtin-superkinds remove trailing dots 2023-10-08 10:06:17 +00:00
c-variadic Enable varargs support for AAPCS calling convention 2023-09-14 23:21:39 +02:00
cast make unsized cast illegal 2023-09-22 18:57:27 +03:00
cfg Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
check-cfg check-cfg: only print the list of expected names once 2023-10-12 18:39:35 +02:00
closure-expected-type Specify what 'this' actually is 2023-02-21 05:21:07 +00:00
closure_context adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
closures Point to where missing return type should go 2023-10-04 21:09:54 +00:00
cmse-nonsecure Move /src/test to /tests 2023-01-11 09:32:08 +00:00
codegen Fix misuses of a vs an 2023-10-04 08:01:11 +08:00
codemap_tests Point to where missing return type should go 2023-10-04 21:09:54 +00:00
coercion remove trailing dots 2023-10-08 10:06:17 +00:00
coherence Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
coinduction update revision names 2023-05-30 13:03:40 +02:00
command Add help for crate arg when crate name is invalid 2023-07-26 00:05:00 +08:00
compare-method Point to where missing return type should go 2023-10-04 21:09:54 +00:00
compiletest-self-test Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conditional-compilation Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
confuse-field-and-method adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
const-generics Prevent spurious unreachable pattern lints 2023-10-11 12:49:57 +00:00
const-ptr const validation: point at where we found a pointer but expected an integer 2023-08-02 18:51:50 +02:00
const_prop Don't resolve generic instances if they may be shadowed by dyn 2023-09-19 05:42:23 +00:00
consts Auto merge of #115524 - RalfJung:misalign, r=wesleywiser 2023-10-14 00:57:09 +00:00
crate-loading Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
cross Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
cross-crate Contents of reachable statics is reachable 2023-08-22 00:00:00 +00:00
custom_test_frameworks Note base types of coercion 2023-05-12 00:10:52 +00:00
cycle-trait moved note as unspanned note, moved note to the bottom of the msg 2023-07-18 21:53:34 -04:00
debuginfo Fix misuses of a vs an 2023-10-04 08:01:11 +08:00
definition-reachable Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dep-graph check -Z query-dep-graph is enabled if -Z dump-dep-graph (#106736) 2023-01-16 11:09:53 +01:00
deployment-target Add deployment-target --print flag for Apple targets 2023-05-05 01:22:17 -05:00
deprecation Remove E0551. 2023-10-04 18:12:20 +11:00
deref-patterns Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
derived-errors Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
derives Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
deriving Rework no_coverage to coverage(off) 2023-09-08 12:46:06 +01:00
dest-prop Move /src/test to /tests 2023-01-11 09:32:08 +00:00
destructuring-assignment add more tests 2023-07-17 22:06:32 +00:00
diagnostic-flags Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
diagnostic-width new unstable option: -Zwrite-long-types-to-disk 2023-07-24 12:25:05 +01:00
diagnostic_namespace Handle several #[diagnostic::on_unimplemented] attributes correctly 2023-10-11 22:01:59 +02:00
did_you_mean clean up struct field suggestions 2023-10-04 21:36:04 +02:00
directory_ownership Move /src/test to /tests 2023-01-11 09:32:08 +00:00
disallowed-deconstructing Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dollar-crate Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop Add more if let guard tests 2023-09-19 12:48:40 +00:00
drop-bounds make comments less cryptic 2023-09-06 12:09:29 +03:00
dropck Rollup merge of #112508 - compiler-errors:trait-sig-lifetime-sugg-ice, r=cjgillot 2023-07-22 19:57:35 +02:00
dst Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
duplicate Remove some unnecessary normalization 2023-07-05 19:52:28 -04:00
dyn-drop Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-keyword Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
dyn-star Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
dynamically-sized-types Move /src/test to /tests 2023-01-11 09:32:08 +00:00
editions improve error message for calling a method on a raw pointer with an unknown pointee, and add some tests 2023-05-26 13:15:15 -04:00
empty Make "consider importing" consistent for macros 2023-06-10 00:06:34 +08:00
entry-point rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
enum Remove unreachable and untested suggestion for invalid span enum derive(Default) 2023-06-19 16:22:21 +01:00
enum-discriminant Move tests from ui/discrim dir 2023-06-08 12:33:17 +00:00
error-codes Auto merge of #116623 - Nadrieril:validate-range-endpoints, r=oli-obk 2023-10-11 10:07:19 +00:00
errors Fix error spans for arguments to tuple enum constructors 2023-02-28 14:58:14 -08:00
explicit Migrate 'explicit destructor call' diagnostic 2023-09-15 14:24:58 +00:00
explicit-tail-calls hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
expr Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
extenv Better diagnostics for env! where variable contains escape 2023-05-11 21:41:07 +01:00
extern Gate and validate #[rustc_safe_intrinsic] 2023-09-25 22:33:15 +02:00
extern-flag Validate crate name in CLI option --extern 2023-09-20 18:50:40 +02:00
feature-gates Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
fmt add diagnostic for raw identifiers in format string 2023-09-06 18:55:45 +02:00
fn remove trailing dots 2023-10-08 10:06:17 +00:00
for Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
for-loop-while Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
foreign Add regression test for rust-lang#56098 2023-09-27 18:05:14 +10:00
fully-qualified-type Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
function-pointer Point at appropriate type parameter in more trait bound errors 2023-08-26 01:07:05 +00:00
functional-struct-update Move /src/test to /tests 2023-01-11 09:32:08 +00:00
functions-closures adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
generator Bless tests. 2023-09-23 13:47:30 +00:00
generic-associated-types remove trailing dots 2023-10-08 10:06:17 +00:00
generic-const-items Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
generics diagnostics: simpler 83556 handling by bailing out 2023-09-22 22:41:01 -07:00
half-open-range-patterns Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
hashmap Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
hello_world tests/ui/hello_world/main.rs: Remove FIXME 2023-07-27 10:17:01 +02:00
higher-ranked Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
hygiene Change default panic handler message format. 2023-07-29 11:42:50 +02:00
illegal-sized-bound Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-header-lifetime-elision Introduce ReError 2023-02-09 10:26:49 +00:00
impl-trait Test that RPITITs have RPIT scope and not impl-wide scope 2023-10-13 21:01:36 +00:00
implied-bounds unconstrained region vars: do not ICE ICE baby 2023-09-05 11:15:05 +02:00
imports Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
include-macros Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
incoherent-inherent-impls Tighter spans for bad inherent impl types 2023-02-13 18:41:18 +00:00
indexing Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
inference Fix windows test that has different stderr output 2023-10-06 15:51:04 +00:00
infinite Permit recursive weak type aliases 2023-08-30 11:55:03 +00:00
inherent-impls-overlap-check Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline-const Prevent promotion of const fn calls in inline consts 2023-09-21 09:00:22 +00:00
instrument-xray Test XRay only for supported targets 2023-02-09 12:29:43 +09:00
interior-mutability rustc_middle: Fix opt_item_ident for non-local def ids 2023-05-03 20:09:10 +03:00
internal Clean up some bad ui testing annotations 2023-08-15 01:03:09 +00:00
internal-lints Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
intrinsics Gate and validate #[rustc_safe_intrinsic] 2023-09-25 22:33:15 +02:00
invalid Fix ICE failed to get layout for ReferencesError 2023-08-05 01:38:14 +08:00
invalid-compile-flags Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-module-declaration Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-self-argument Move /src/test to /tests 2023-01-11 09:32:08 +00:00
io-checks Improve non-ice-error-on-worker-io-fail.rs test 2023-04-25 15:25:19 +00:00
issues Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
iterators Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
json Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
keyword Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kindck adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
label Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lang-items Point to where missing return type should go 2023-10-04 21:09:54 +00:00
late-bound-lifetimes Error code E0794 for late-bound lifetime parameter error. 2023-03-07 21:26:19 +01:00
layout Rollup merge of #115708 - RalfJung:homogeneous, r=davidtwco 2023-09-11 21:16:22 +02:00
lazy-type-alias Account for Weak alias kinds when adding more targetted obligation 2023-08-26 20:10:19 +00:00
lazy-type-alias-impl-trait Move /src/test to /tests 2023-01-11 09:32:08 +00:00
let-else Peel borrows before suggesting as_ref/as_deref 2023-06-08 16:30:05 +00:00
lexer Update lexer emoji diagnostics to Unicode 15.0 2023-07-29 08:47:21 +08:00
lifetimes remove trailing dots 2023-10-08 10:06:17 +00:00
limits Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
linkage-attr add test for -Clink-self-contained consistency 2023-10-08 21:57:39 +00:00
lint Auto merge of #116623 - Nadrieril:validate-range-endpoints, r=oli-obk 2023-10-11 10:07:19 +00:00
liveness use maybe_body_owned_by for closure 2023-07-14 07:12:35 +08:00
loops Point to where missing return type should go 2023-10-04 21:09:54 +00:00
lowering Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lto CFI: Fix error compiling core with LLVM CFI enabled 2023-08-07 15:59:15 -07:00
lub-glb Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
macro_backtrace Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros Don't escape_debug the condition of assert!. 2023-10-10 09:08:11 +11:00
malformed Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
manual Move /src/test to /tests 2023-01-11 09:32:08 +00:00
marker_trait_attr remove trailing dots 2023-10-08 10:06:17 +00:00
match Fix range overflow checking 2023-10-11 04:55:55 +02:00
meta Fix no_std tests that load libc when download-rustc is enabled 2023-04-18 07:14:01 -05:00
methods Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
mir Address review comments 2023-09-13 15:00:31 +00:00
mir-dataflow Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mismatched_types Point to where missing return type should go 2023-10-04 21:09:54 +00:00
missing Make "consider importing" consistent for macros 2023-06-10 00:06:34 +08:00
missing-trait-bounds Do not incorrectly suggest restricting implied bounds 2023-01-13 20:50:34 +00:00
missing_non_modrs_mod Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modules Use the correct span for displaying the line following a derive suggestion 2023-07-19 23:48:43 +00:00
modules_and_files_visibility Rename tests to ensure they don't have overlapping names. 2023-03-22 21:12:40 -07:00
moves Move tests 2023-08-28 17:47:37 -03:00
mut Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
namespace Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
native-library-link-flags Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
never_type Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
nll remove trailing dots 2023-10-08 10:06:17 +00:00
non_modrs_mods remove invalid ignore-pretty 2023-04-03 09:24:11 +02:00
non_modrs_mods_and_inline_mods Rename tests to ensure they don't have overlapping names. 2023-03-22 21:12:40 -07:00
not-panic rustc_middle: Fix opt_item_ident for non-local def ids 2023-05-03 20:09:10 +03:00
numbers-arithmetic Change default panic handler message format. 2023-07-29 11:42:50 +02:00
numeric Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-lifetime Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety always show and explain sub region 2023-10-08 09:59:51 +00:00
obsolete-in-place Move /src/test to /tests 2023-01-11 09:32:08 +00:00
offset-of Point to where missing return type should go 2023-10-04 21:09:54 +00:00
on-unimplemented Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
operator-recovery Move /src/test to /tests 2023-01-11 09:32:08 +00:00
or-patterns Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
overloaded Only point at impl self ty in WF if trait predicate shares self ty 2023-01-12 22:25:30 +00:00
packed change std::marker::Sized to just Sized 2023-06-15 12:01:38 +02:00
packed-struct Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler Allow higher-ranked fn sigs in ValuePairs 2023-09-22 19:47:41 +00:00
panic-runtime Update tests 2023-04-29 13:01:46 +01:00
panics mark relevant tests as requiring unwinding 2023-09-29 14:24:40 +02:00
parser Auto merge of #115822 - compiler-errors:stabilize-rpitit, r=jackh726 2023-10-14 07:29:08 +00:00
pattern Auto merge of #116391 - Nadrieril:constructorset, r=cjgillot 2023-10-12 21:33:31 +00:00
pin-macro Account for macros when suggesting a new let binding 2023-07-28 14:44:03 +00:00
polymorphization Strip OpaqueCast during RevealAll. 2023-09-28 16:13:38 +00:00
print-fuel Move /src/test to /tests 2023-01-11 09:32:08 +00:00
print_type_sizes adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
privacy Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
proc-macro Add a comment to tests/ui/proc-macro/issue-75930-derive-cfg.rs. 2023-10-12 08:46:15 +11:00
process Fix tests. 2023-07-29 11:47:26 +02:00
process-termination Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr_ops Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
qualified When suggesting writing a fully qualified path probe for appropriate types 2023-01-11 21:30:10 +00:00
query-system Don't cause a cycle when formatting query description that references a FnDef 2023-02-02 05:49:07 +00:00
range Fix range overflow checking 2023-10-11 04:55:55 +02:00
raw-ref-op Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reachable Tweak privacy errors to account for reachable items 2023-06-22 16:50:31 +00:00
recursion adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
recursion_limit Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
regions remove trailing dots 2023-10-08 10:06:17 +00:00
repeat-expr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
repr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
reserved Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
return Point to where missing return type should go 2023-10-04 21:09:54 +00:00
rfcs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
rmeta Emit error instead of ICE when optimized MIR is missing 2023-08-30 20:43:31 +02:00
runtime remove invalid ignore-pretty 2023-04-03 09:24:11 +02:00
rust-2018 Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
rust-2021 Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
rustdoc Add test to ensure doc(primitive) is not recognized anymore 2023-03-30 22:56:52 +02:00
sanitize Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
self Rollup merge of #114654 - estebank:suggest-pin-macro, r=davidtwco 2023-10-03 16:24:15 +02:00
sepcomp Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadowed Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
simd Prototype using const generic for simd_shuffle IDX array 2023-09-18 15:10:28 +00:00
single-use-lifetime Fix #107998, avoid ICE when the generic_span is empty 2023-02-14 03:46:43 +00:00
sized Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk" 2023-07-21 22:35:57 -07:00
span Replace HashMap with IndexMap in pattern binding resolve 2023-10-02 19:12:42 +02:00
specialization Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
stability-attribute bless tests 2023-08-06 13:34:53 +00:00
stack-protector Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
statics Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
stats Rollup merge of #116067 - saethlin:meta-stats-ice, r=WaffleLapkin 2023-09-22 23:12:38 +02:00
std Add a regression test for #113238 2023-08-14 16:57:51 -07:00
stdlib-unit-tests Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
str Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
structs Tweak privacy errors to account for reachable items 2023-06-22 16:50:31 +00:00
structs-enums Gate and validate #[rustc_safe_intrinsic] 2023-09-25 22:33:15 +02:00
suggestions Use structured suggestion for #113174 2023-10-11 18:26:44 +00:00
svh Move /src/test to /tests 2023-01-11 09:32:08 +00:00
symbol-names Remove GeneratorWitness and rename GeneratorWitnessMIR. 2023-09-23 13:47:30 +00:00
sync Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00
target-feature fix the error check 2023-08-15 00:57:18 +08:00
test-attrs Auto merge of #113126 - Bryanskiy:delete_old, r=petrochenkov 2023-09-01 12:40:01 +00:00
thir-print make more pretty 2023-09-18 17:29:13 +01:00
thread-local add known-bug test for unsound issue 49682 2023-04-26 22:34:30 -04:00
threads-sendsync Change default panic handler message format. 2023-07-29 11:42:50 +02:00
tool-attributes Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
track-diagnostics Include compiler flags when you break rust; 2023-08-24 15:51:25 +02:00
trait-bounds Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
traits Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
transmutability Replace old private-in-public diagnostic with type privacy lints 2023-08-02 13:40:28 +03:00
transmute Fix error report for size overflow from transmute 2023-09-06 06:48:34 +08:00
treat-err-as-bug Change default panic handler message format. 2023-07-29 11:42:50 +02:00
trivial-bounds Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
try-block Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
try-trait Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
tuple Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
type Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
type-alias Check lazy type aliases for well-formedness 2023-07-30 11:24:15 +02:00
type-alias-enum-variants Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
type-alias-impl-trait Rollup merge of #116530 - aliemjay:ice-on-ambiguity, r=compiler-errors 2023-10-11 03:53:17 +03:00
type-inference Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
typeck Rollup merge of #116561 - ouz-a:testfor_115517, r=compiler-errors 2023-10-09 16:26:03 +02:00
typeof Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ufcs More accurately point at arguments 2023-08-26 19:25:46 +00:00
unboxed-closures On type error involving closure, avoid ICE 2023-10-12 23:29:02 +00:00
underscore-imports make noop_method_call warn by default 2023-07-23 07:09:14 +00:00
underscore-lifetime Use structured suggestion when telling user about for<'a> 2023-06-30 00:34:14 +00:00
uniform-paths Move /src/test to /tests 2023-01-11 09:32:08 +00:00
uninhabited Normalize types when applying uninhabited predicate. 2023-06-27 17:10:14 +00:00
union Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
unknown-unstable-lints Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
unpretty Move OutFileName writing into rustc_session 2023-07-20 11:04:31 -07:00
unresolved Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
unsafe Auto merge of #112038 - Nemo157:edition-2024-unsafe_op_in_unsafe_fn, r=RalfJung 2023-09-14 11:52:08 +00:00
unsized fix: skip opt if body has tainted error 2023-09-13 23:07:39 +08:00
unsized-locals Rollup merge of #111885 - compiler-errors:rust-call-abi-sized, r=eholk 2023-06-13 07:02:28 +02:00
unused-crate-deps Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unwind-abis Update tests 2023-04-29 13:01:46 +01:00
use Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
variance Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
variants Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
wf remove trailing dots 2023-10-08 10:06:17 +00:00
where-clauses Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
while recover from for-else and while-else 2023-03-01 13:26:59 +01:00
xcrate Tweak privacy errors to account for reachable items 2023-06-22 16:50:31 +00:00
zero-sized Move /src/test to /tests 2023-01-11 09:32:08 +00:00
.gitattributes Move /src/test to /tests 2023-01-11 09:32:08 +00:00
alias-uninit-value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anonymous-higher-ranked-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anonymous-higher-ranked-lifetime.stderr convert to fluent, make plurals work 2023-06-28 18:08:21 +00:00
artificial-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
as-precedence.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assign-assign.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
assign-imm-local-twice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assign-imm-local-twice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-lang-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-lang-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-oddities-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-path-shl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-path-shl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
atomic-from-mut-not-available.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
atomic-from-mut-not-available.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attempted-access-non-fatal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attempted-access-non-fatal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-bad-crate-attr.rs tidy check to find misc files in ui tests, and clean up the results 2023-05-09 20:35:39 -04:00
attr-bad-crate-attr.stderr tidy check to find misc files in ui tests, and clean up the results 2023-05-09 20:35:39 -04:00
attr-shebang.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-start.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-usage-inline.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-usage-inline.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-resolution-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-resolution-errors.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-resolution.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
augmented-assignments-feature-gate-cross.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
augmented-assignments-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
augmented-assignments.rs Tweak E0597 2023-01-15 19:46:20 +00:00
augmented-assignments.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
auto-instantiate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
auto-ref-slice-plus-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
auto-ref-slice-plus-ref.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
autoderef-full-lval.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
autoderef-full-lval.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
backtrace-apple-no-dsymutil.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
backtrace.rs avoid triple-backtrace due to panic-during-cleanup 2023-08-27 20:02:46 +02:00
bare-fn-implements-fn-mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-static-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
big-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bind-by-move.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bitwise.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bogus-tag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bogus-tag.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
borrow-by-val-method-receiver.rs 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 Adjust tracking issue for non_lifetime_binders 2023-02-18 02:42:43 +00:00
break-diverging-value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
break-diverging-value.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
builtin-clone-unwind.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
by-move-pattern-binding.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
by-move-pattern-binding.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
can-copy-pod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cancel-clean-via-immediate-rvalue-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-mutate-captured-non-mut-var.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-mutate-captured-non-mut-var.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
capture1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
capture1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
catch-unwind-bang.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cenum_impl_drop_cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cenum_impl_drop_cast.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfguard-run.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
char.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-static-immutable-mut-slices.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-static-immutable-mut-slices.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-static-recursion-foreign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-static-values-constraints.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
check-static-values-constraints.stderr Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
class-cast-to-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-cast-to-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-method-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-method-missing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-rvalue-for-scope.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-rvalue-scopes-cf.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-rvalue-scopes-cf.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-rvalue-scopes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-rvalue-temp-during-incomplete-alloc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-shortcircuit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
close-over-big-then-small-data.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-diagnostics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
command-line-diagnostics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-badutf8.args Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-badutf8.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-badutf8.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-missing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile.args Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
compile_error_macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
compile_error_macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
complex.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conflicting-repr-hints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conflicting-repr-hints.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conservative_impl_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conservative_impl_trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
constructor-lifetime-args.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
constructor-lifetime-args.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
copy-a-resource.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy-a-resource.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-leading-sep.rs Rename drop_copy lint to dropping_copy_types 2023-05-21 13:37:32 +02:00
crate-method-reexport-grrrrrrr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-name-attr-used.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-name-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-name-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom-attribute-multisegment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom-attribute-multisegment.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom-test-frameworks-simple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom_attribute.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom_attribute.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deduplicate-diagnostics.deduplicate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deduplicate-diagnostics.duplicate.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
deduplicate-diagnostics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deep.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-method-parsing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-method-simple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
defaults-well-formedness.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deprecation-in-force-unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deref-non-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deref-non-pointer.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deref-rc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-uninhabited-enum-38885.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-uninhabited-enum-38885.stderr Add help to allow lint for the implied by suggestion 2023-09-04 14:21:38 +02:00
destructure-trait-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
destructure-trait-ref.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
diverging-fallback-method-chain.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diverging-fallback-option.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diverging-fn-tail-35849.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diverging-fn-tail-35849.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
does-nothing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
does-nothing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-private-trait-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-suggest-private-trait-method.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double-type-import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double-type-import.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dupe-first-attr.rs tidy check to find misc files in ui tests, and clean up the results 2023-05-09 20:35:39 -04:00
duplicate_entry_error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate_entry_error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
early-ret-binop-add.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elide-errors-on-mismatched-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elide-errors-on-mismatched-tuple.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elided-test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elided-test.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
else-if.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-allocation-non-null.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-allocation-rvalue-non-null.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
empty-type-parameter-list.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty_global_asm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
env-args-reverse-iterator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
env-funky-keys.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
env-null-vars.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
env-vars.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
error-festival.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
error-festival.stderr Migrate 'cast to bool' diagnostic 2023-09-18 14:03:57 +00:00
error-should-say-copy-not-pod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
error-should-say-copy-not-pod.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
exclusive-drop-and-copy.rs may not => cannot 2023-03-08 00:00:18 +00:00
exclusive-drop-and-copy.stderr may not => cannot 2023-03-08 00:00:18 +00:00
exec-env.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explain.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explain.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explicit-i-suffix.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explore-issue-38412.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explore-issue-38412.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
expr-block-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-block-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-copy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-if-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-if-panic-all.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-scope.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ext-expand-inner-exprs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ext-nonexistent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ext-nonexistent.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-mod-syntax.rs Fix tests on wasm 2023-04-13 22:10:26 -05:00
extoption_env-no-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extoption_env-no-args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extoption_env-not-defined.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extoption_env-not-string-literal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extoption_env-not-string-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extoption_env-too-many-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extoption_env-too-many-args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fact.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fail-simple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fail-simple.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ffi_const.rs Improve tests for FFI attr validation 2023-01-27 05:28:52 -08:00
ffi_const.stderr Improve tests for FFI attr validation 2023-01-27 05:28:52 -08:00
ffi_const2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ffi_const2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ffi_pure.rs Improve tests for FFI attr validation 2023-01-27 05:28:52 -08:00
ffi_pure.stderr Improve tests for FFI attr validation 2023-01-27 05:28:52 -08:00
ffi_returns_twice.rs Improve tests for FFI attr validation 2023-01-27 05:28:52 -08:00
ffi_returns_twice.stderr Improve tests for FFI attr validation 2023-01-27 05:28:52 -08:00
filter-block-view-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-in-pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-in-pat.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-fn-return-lifetime.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-fn-return-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-fn-return-lifetime.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-no-std.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fun-indirect-call.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
future-incompatible-lint-group.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
future-incompatible-lint-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
global-scope.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hello.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
illegal-ufcs-drop.fixed Rename drop_ref lint to dropping_references 2023-05-21 14:16:41 +02:00
illegal-ufcs-drop.rs Rename drop_ref lint to dropping_references 2023-05-21 14:16:41 +02:00
illegal-ufcs-drop.stderr Adjust tests for new drop and forget lints 2023-05-10 19:36:02 +02:00
impl-inherent-non-conflict.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-not-adjacent-to-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-privacy-xc-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-rps-in-assoc-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-rps-in-assoc-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-tps-inherent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-tps-inherent.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-tps.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-tps.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implicit-method-bind.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implicit-method-bind.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impossible_range.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impossible_range.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impossible_range.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inc-range-pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infer-fn-tail-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inherit-env.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline-disallow-on-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline-disallow-on-variant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inlined-main.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attrs-on-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-module.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-static-type-parameter.rs Generalize E0401 2023-09-10 23:06:14 +02:00
inner-static-type-parameter.stderr Generalize E0401 2023-09-10 23:06:14 +02:00
inner-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
integral-indexing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
integral-indexing.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
integral-variable-unification-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
integral-variable-unification-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intrinsics-always-extern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intrinsics-always-extern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_crate_type_syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_crate_type_syntax.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_dispatch_from_dyn_impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_dispatch_from_dyn_impls.stderr Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
issue-11881.rs Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
issue-13560.rs Fix tests on wasm 2023-04-13 22:10:26 -05:00
issue-15924.rs Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
issue-16822.rs Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
issue-18502.rs Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
issue-24106.rs Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
issue-76387-llvm-miscompile.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issues-71798.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issues-71798.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-name-overload.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kinds-in-metadata.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kinds-of-primitive-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kinds-of-primitive-impl.stderr Tighter spans for bad inherent impl types 2023-02-13 18:41:18 +00:00
lambda-infer-unresolved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
last-use-in-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
last-use-in-cap-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
last-use-is-capture.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lazy-and-or.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lexical-scopes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lexical-scopes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lexical-scoping.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-section.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-group-denied-lint-allowed.rs Support x test --stage 1 ui-fulldeps 2023-04-17 22:40:31 -05:00
lint-group-forbid-always-trumps-cli.rs Support x test --stage 1 ui-fulldeps 2023-04-17 22:40:31 -05:00
lint-group-forbid-always-trumps-cli.stderr Add help to allow lint for the implied by suggestion 2023-09-04 14:21:38 +02:00
lint-unknown-lints-at-crate-level.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
list.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
log-err-phi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
log-knows-the-names-of-variants.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
log-poly.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
logging-only-prints-once.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
loud_ui.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-quote-test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
main-wrong-location.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
main-wrong-location.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
main-wrong-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
main-wrong-type.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
max-min-classes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
maximal_mir_to_hir_coverage.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
maybe-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
maybe-bounds.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
minus-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
minus-string.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing_debug_impls.rs Make MissingDebugImplementation a module lint. 2023-08-04 16:09:14 +00:00
missing_debug_impls.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod-subitem-as-enum-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod-subitem-as-enum-variant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
module-macro_use-arguments.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
module-macro_use-arguments.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
monomorphize-abi-alignment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
msvc-data-only.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multibyte.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiline-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mut-function-arguments.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutual-recursion-group.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
myriad-closures.rs Move most ui-fulldeps tests to ui 2023-04-13 22:08:07 -05:00
nested-block-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-cfg-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-cfg-attrs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-class.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-ty-params.rs Generalize E0401 2023-09-10 23:06:14 +02:00
nested-ty-params.stderr Generalize E0401 2023-09-10 23:06:14 +02:00
new-impl-syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-import-syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-style-constants.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
newlambdas.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
newtype-polymorphic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
newtype.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-capture-arc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-capture-arc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-core-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-core-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-link-unknown-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-link-unknown-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-patterns-in-args-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-patterns-in-args-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-patterns-in-args-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-patterns-in-args-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-patterns-in-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-patterns-in-args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-reuse-move-arc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-reuse-move-arc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-send-res-ports.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-send-res-ports.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
no-warn-on-field-replace-issue-34101.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_crate_type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_crate_type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-enum.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
no_send-rc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-rc.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
no_share-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_share-enum.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
no_share-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_share-struct.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
noexporttypeexe.rs Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
noexporttypeexe.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
non-constant-expr-for-arr-len.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-constant-expr-for-arr-len.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-copyable-void.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-copyable-void.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-fmt-panic.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-fmt-panic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-fmt-panic.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
noncopyable-class.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
noncopyable-class.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonscalar-cast.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonscalar-cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonscalar-cast.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-clone-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-clone-closure.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
not-copy-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-copy-closure.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-enough-arguments.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-enough-arguments.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nul-characters.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nullable-pointer-iotareduction.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nullable-pointer-size.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-pointer-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-pointer-types.stderr Tweak use of trimmed paths 2023-01-30 20:12:21 +00:00
objects-coerce-freeze-borrored.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
occurs-check-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
occurs-check-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
occurs-check-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
occurs-check-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
occurs-check.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
occurs-check.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
once-cant-call-twice-on-heap.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
once-cant-call-twice-on-heap.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
oom_unwind.rs Revert "Rename -Zoom=panic to -Zoom=unwind" 2023-04-25 00:08:33 +02:00
op-assign-builtins-by-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opeq.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
opt-in-copy.rs may not => cannot 2023-03-08 00:00:18 +00:00
opt-in-copy.stderr may not => cannot 2023-03-08 00:00:18 +00:00
optimization-fuel-0.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
optimization-fuel-0.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
optimization-fuel-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
optimization-fuel-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
optimization-remark.rs Output LLVM optimization remark kind in -Cremark output 2023-05-04 15:39:21 +02:00
order-dependent-cast-inference.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
order-dependent-cast-inference.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
orphan-check-diagnostics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
orphan-check-diagnostics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
osx-frameworks.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
osx-frameworks.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
out-pointer-aliasing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
output-slot-variants.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
over-constrained-vregs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-while-printing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic_implementation-closures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
paren-span.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
paren-span.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
partialeq_help.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
partialeq_help.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
path-lookahead.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
path-lookahead.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
path-lookahead.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
paths-containing-nul.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
phantom-auto-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
phantom-auto-trait.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
point-to-type-err-cause-on-impl-trait-return-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-to-type-err-cause-on-impl-trait-return-2.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
pptypedef.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pptypedef.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
primitive-binop-lhs-mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
print-stdout-eprint-stderr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
project-cache-issue-31849.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr-coercion-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr-coercion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr-coercion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
query-visibility.rs 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
raw-str.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
realloc-16687.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reassign-ref-mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reassign-ref-mut.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reexport-test-harness-main.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reify-intrinsic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reify-intrinsic.stderr Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
removing-extern-crate.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removing-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
removing-extern-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resource-assign-is-not-copy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resource-destruct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ret-bang.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ret-non-nil.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ret-non-nil.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-disjoint-regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-disjoint-regions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-nil.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
rustc-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-rust-log.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
seq-args.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
seq-args.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
shadow-bool.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadowed-use-visibility.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
short-error-format.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
short-error-format.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
simple_global_asm.rs Add missing needs-asm-support annotation to ui/simple_global_asm.rs 2023-03-26 17:30:29 +00:00
sized-borrowed-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sized-cycle-note.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sized-cycle-note.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sized-owned-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sse2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stable-addr-of.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
std-backtrace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
std-uncopyable-atomics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
std-uncopyable-atomics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stdio-is-blocking.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stmt_expr_attrs_no_feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stmt_expr_attrs_no_feature.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
string-box-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-ctor-mangling.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-null-ptr.fixed Suggest null ptr if 0 is given as a raw ptr arg 2023-02-04 20:13:16 -08:00
suggest-null-ptr.rs Suggest null ptr if 0 is given as a raw ptr arg 2023-02-04 20:13:16 -08:00
suggest-null-ptr.stderr Suggest null ptr if 0 is given as a raw ptr arg 2023-02-04 20:13:16 -08:00
super-at-top-level.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
super-at-top-level.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
super-fast-paren-parsing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
super.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
svh-add-nothing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
swap-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
swap-overlapping.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
switched-expectations.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
switched-expectations.stderr Suggest type mismatches even when using ref syntax on binding 2023-06-08 16:17:30 +00:00
syntax-extension-minor.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tag-type-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tag-type-args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tag-variant-cast-non-nullary.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tag-variant-cast-non-nullary.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tag-variant-cast-non-nullary.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tail-call-arg-leak.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tail-cps.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tail-typeck.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tail-typeck.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tool_lints-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tool_lints-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tool_lints-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tool_lints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tool_lints.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
tool_lints_2018_preview.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-comma.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-impl-bound-suggestions.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-impl-bound-suggestions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-impl-bound-suggestions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-method-number-parameters.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-method-number-parameters.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
transmute-equal-assoc-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
transmute-non-immediate-to-immediate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trivial_casts-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-from-int-error-partial-eq.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-operator-hygiene.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-operator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tydesc-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-id-higher-rank-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-namespace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-param-constraints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-use-i1-versus-i8.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type_length_limit.polonius.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type_length_limit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type_length_limit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typeid-intrinsic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typestate-multi-decl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unconstrained-none.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unconstrained-none.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unconstrained-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unconstrained-ref.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-ident-matcher.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-ident-matcher.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-method-after-integer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unevaluated_fixed_size_array_len.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unevaluated_fixed_size_array_len.stderr Handle Self in paths too 2023-08-25 19:05:38 +00:00
uninit-empty-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-language-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-language-item.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-lint-tool-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-lint-tool-name.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
unknown-llvm-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-llvm-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-tool-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-tool-name.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed_argument_mode.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unop-move-semantics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unop-move-semantics.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
unop-neg-bool.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unop-neg-bool.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-code-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-code.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
unsigned-literal-negation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsigned-literal-negation.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-move-capture.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-move.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unwind-no-uwtable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-import-export.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-keyword-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-module-level-int-consts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-nested-groups.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
using-target-feature-unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
usize-generic-argument-parent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
usize-generic-argument-parent.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
utf8-bom.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
utf8_idents.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wait-forked-but-failed-child.rs Add QNX Neutrino support to libstd 2023-02-28 15:59:47 +01:00
walk-struct-literal-with.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
walk-struct-literal-with.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weak-new-uninhabited-issue-48493.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weird-exit-code.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weird-exprs.rs Disable feature(unboxed_closures, fn_traits) in weird-exprs 2023-06-19 20:22:35 -07:00
windows-subsystem-invalid.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
windows-subsystem-invalid.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
write-fmt-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
writing-to-immutable-vec.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
writing-to-immutable-vec.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrong-hashset-issue-42918.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00