rust/src/test/ui/impl-trait
bors bb55bd449e Auto merge of #95565 - jackh726:remove-borrowck-mode, r=nikomatsakis
Remove migrate borrowck mode

Closes #58781
Closes #43234

# Stabilization proposal

This PR proposes the stabilization of `#![feature(nll)]` and the removal of `-Z borrowck`. Current borrow checking behavior of item bodies is currently done by first infering regions *lexically* and reporting any errors during HIR type checking. If there *are* any errors, then MIR borrowck (NLL) never occurs. If there *aren't* any errors, then MIR borrowck happens and any errors there would be reported. This PR removes the lexical region check of item bodies entirely and only uses MIR borrowck. Because MIR borrowck could never *not* be run for a compiled program, this should not break any programs. It does, however, change diagnostics significantly and allows a slightly larger set of programs to compile.

Tracking issue: #43234
RFC: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll.md
Version: 1.63 (2022-06-30 => beta, 2022-08-11 => stable).

## Motivation

Over time, the Rust borrow checker has become "smarter" and thus allowed more programs to compile. There have been three different implementations: AST borrowck, MIR borrowck, and polonius (well, in progress). Additionally, there is the "lexical region resolver", which (roughly) solves the constraints generated through HIR typeck. It is not a full borrow checker, but does emit some errors.

The AST borrowck was the original implementation of the borrow checker and was part of the initially stabilized Rust 1.0. In mid 2017, work began to implement the current MIR borrow checker and that effort ompleted by the end of 2017, for the most part. During 2018, efforts were made to migrate away from the AST borrow checker to the MIR borrow checker - eventually culminating into "migrate" mode - where HIR typeck with lexical region resolving following by MIR borrow checking - being active by default in the 2018 edition.

In early 2019, migrate mode was turned on by default in the 2015 edition as well, but with MIR borrowck errors emitted as warnings. By late 2019, these warnings were upgraded to full errors. This was followed by the complete removal of the AST borrow checker.

In the period since, various errors emitted by the MIR borrow checker have been improved to the point that they are mostly the same or better than those emitted by the lexical region resolver.

While there do remain some degradations in errors (tracked under the [NLL-diagnostics tag](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3ANLL-diagnostics), those are sufficiently small and rare enough that increased flexibility of MIR borrow check-only is now a worthwhile tradeoff.

## What is stabilized

As said previously, this does not fundamentally change the landscape of accepted programs. However, there are a [few](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3ANLL-fixed-by-NLL) cases where programs can compile under `feature(nll)`, but not otherwise.

There are two notable patterns that are "fixed" by this stabilization. First, the `scoped_threads` feature, which is a continutation of a pre-1.0 API, can sometimes emit a [weird lifetime error](https://github.com/rust-lang/rust/issues/95527) without NLL. Second, actually seen in the standard library. In the `Extend` impl for `HashMap`, there is an implied bound of `K: 'a` that is available with NLL on but not without - this is utilized in the impl.

As mentioned before, there are a large number of diagnostic differences. Most of them are better, but some are worse. None are serious or happen often enough to need to block this PR. The biggest change is the loss of error code for a number of lifetime errors in favor of more general "lifetime may not live long enough" error. While this may *seem* bad, the former error codes were just attempts to somewhat-arbitrarily bin together lifetime errors of the same type; however, on paper, they end up being roughly the same with roughly the same kinds of solutions.

## What isn't stabilized

This PR does not completely remove the lexical region resolver. In the future, it may be possible to remove that (while still keeping HIR typeck) or to remove it together with HIR typeck.

## Tests

Many test outputs get updated by this PR. However, there are number of tests specifically geared towards NLL under `src/test/ui/nll`

## History

* On 2017-07-14, [tracking issue opened](https://github.com/rust-lang/rust/issues/43234)
* On 2017-07-20, [initial empty MIR pass added](https://github.com/rust-lang/rust/pull/43271)
* On 2017-08-29, [RFC opened](https://github.com/rust-lang/rfcs/pull/2094)
* On 2017-11-16, [Integrate MIR type-checker with NLL](https://github.com/rust-lang/rust/pull/45825)
* On 2017-12-20, [NLL feature complete](https://github.com/rust-lang/rust/pull/46862)
* On 2018-07-07, [Don't run AST borrowck on mir mode](https://github.com/rust-lang/rust/pull/52083)
* On 2018-07-27, [Add migrate mode](https://github.com/rust-lang/rust/pull/52681)
* On 2019-04-22, [Enable migrate mode on 2015 edition](https://github.com/rust-lang/rust/pull/59114)
* On 2019-08-26, [Don't downgrade errors on 2015 edition](https://github.com/rust-lang/rust/pull/64221)
* On 2019-08-27, [Remove AST borrowck](https://github.com/rust-lang/rust/pull/64790)
2022-06-07 05:04:14 +00:00
..
auxiliary
diagnostics add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
explicit-generic-args-with-impl-trait Provide extra note if synthetic type args are specified 2022-02-26 03:21:39 +00:00
issues add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
multiple-lifetimes Fully stabilize NLL 2022-06-03 17:16:41 -04:00
associated-impl-trait-type-generic-trait.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
associated-impl-trait-type-trivial.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
associated-impl-trait-type.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
async_scope_creep.rs Fix mixing lazy TAIT and RPIT in their defining scopes 2022-03-28 17:02:21 +00:00
auto-trait-leak-rpass.rs
auto-trait-leak.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
auto-trait-leak.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
auto-trait-leak2.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
auto-trait-leak2.stderr Fix printing unit return ty, don't elaborate FnOnce unless we see it 2021-11-23 11:05:07 -08:00
auto-trait.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
auto-trait.stderr Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
autoderef.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
bound-normalization-fail.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
bound-normalization-fail.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
bound-normalization-pass.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
bounds_regression.rs
can-return-unconstrained-closure.rs
closure-calling-parent-fn.rs
closure-in-impl-trait-arg.rs arg position 2020-10-07 10:19:04 +02:00
closure-in-impl-trait.rs do not lower patterns in impl Trait 2020-10-07 10:19:04 +02:00
cross-return-site-inference.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
cross-return-site-inference.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
deprecated_annotation.rs
divergence.rs Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
does-not-live-long-enough.rs Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
does-not-live-long-enough.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
dyn-trait-elided-two-inputs-assoc.rs
dyn-trait-elided-two-inputs-param.rs
dyn-trait-elided-two-inputs-ref-assoc.rs
dyn-trait-elided-two-inputs-ref-param.rs
dyn-trait-return-should-be-impl-trait.rs Ensure tail expression will have a Ty for E0746 2020-04-20 11:17:03 -07:00
dyn-trait-return-should-be-impl-trait.stderr Fix late-bound ICE in unsized return suggestion 2022-04-02 15:29:55 -07:00
equal-hidden-lifetimes.rs Handle equal regions in opaque type inference 2020-02-14 22:40:03 +00:00
equal-hidden-lifetimes.stderr Bless tests. 2022-04-30 13:55:17 +02:00
equality-rpass.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
equality-rpass.stderr Suggest minimal subset features in incomplete_features lint 2020-10-17 02:01:08 +09:00
equality.rs skip pointing out ambuguous impls in alloc/std crates too 2022-02-17 19:19:37 -08:00
equality.stderr Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
equality2.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
equality2.stderr Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
example-calendar.rs Update chalk tests 2022-02-12 13:39:52 +00:00
example-st.rs
extra-item.rs
extra-item.stderr
fallback.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
fallback_inference.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
fallback_inference.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
hidden-lifetimes.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
hidden-lifetimes.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
hidden-type-is-opaque-2.rs add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
hidden-type-is-opaque-2.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
hidden-type-is-opaque.rs Test that TAIT and RPIT are in sync 2022-03-28 17:01:23 +00:00
impl-generic-mismatch-ab.rs
impl-generic-mismatch-ab.stderr Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
impl-generic-mismatch.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
impl-generic-mismatch.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
impl-trait-in-macro.rs Make def_key and HIR parenting consistent. 2021-03-12 22:48:32 +01:00
impl-trait-in-macro.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
impl-trait-plus-priority.rs
impl-trait-plus-priority.stderr
impl_trait_projections.rs
impl_trait_projections.stderr Update ui test output 2022-03-27 19:21:50 +02:00
issue-46959.rs Move tests 2022-05-20 10:53:58 -03:00
issue-49579.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-49685.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-51185.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-54966.rs Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-54966.stderr Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-55872-1.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872-1.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872-2.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872-2.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872-3.rs Restore impl Future<Output = Type> to async blocks 2022-03-30 19:26:35 -07:00
issue-55872-3.stderr Restore impl Future<Output = Type> to async blocks 2022-03-30 19:26:35 -07:00
issue-55872.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-55872.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-56445.rs make ConstEvaluatable more strict 2020-09-08 16:39:12 +02:00
issue-68532.rs Add test for #68532 2020-05-27 00:48:37 +09:00
issue-72911.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issue-72911.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issue-86465.rs Have the spans of TAIT type conflict errors point to the actual site instead of the owning function 2022-03-28 16:30:59 +00:00
issue-86465.stderr Special case the situation where the previous span is the same as the new one 2022-03-28 16:31:52 +00:00
issue-87450.rs Add regression test for issue #87450. 2021-07-30 18:32:22 +00:00
issue-87450.stderr Fix printing unit return ty, don't elaborate FnOnce unless we see it 2021-11-23 11:05:07 -08:00
lifetimes.rs
lifetimes2.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
method-suggestion-no-duplication.rs
method-suggestion-no-duplication.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
multiple-lifetimes.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
must_outlive_least_region_or_bound.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
must_outlive_least_region_or_bound.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
needs_least_region_or_bound.rs stabilize member constraints 2021-05-26 06:01:53 -04:00
negative-reasoning.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
negative-reasoning.stderr Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
nested-return-type.rs Fix and test nested impl Trait 2020-02-14 22:40:03 +00:00
nested-return-type2-tait.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
nested-return-type2-tait.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
nested-return-type2-tait2.rs Show that the behaviour is the same for RPIT and TAIT 2022-03-28 17:08:50 +00:00
nested-return-type2-tait2.stderr Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
nested-return-type2-tait3.rs Show that the behaviour is the same for RPIT and TAIT 2022-03-28 17:08:50 +00:00
nested-return-type2-tait3.stderr Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
nested-return-type2.rs Also use the RPIT back compat hack in trait projection 2022-03-28 17:09:00 +00:00
nested-return-type3-tait.rs Show that the behaviour is the same for RPIT and TAIT 2022-03-28 17:08:50 +00:00
nested-return-type3-tait2.rs Show that the behaviour is the same for RPIT and TAIT 2022-03-28 17:08:50 +00:00
nested-return-type3-tait3.rs Show that the behaviour is the same for RPIT and TAIT 2022-03-28 17:08:50 +00:00
nested-return-type3.rs Add a test showing that a similar example compiles 2022-03-28 17:08:40 +00:00
nested-rpit-hrtb.rs Add a test with both passing and erroneous cases. 2022-05-14 14:11:18 +02:00
nested-rpit-hrtb.stderr Add a test with both passing and erroneous cases. 2022-05-14 14:11:18 +02:00
nested_impl_trait.rs Don't bind hidden types when searching for matching impls 2022-03-28 16:29:54 +00:00
nested_impl_trait.stderr Fix #90970, doesn't address #87437 2022-04-04 21:06:33 +00:00
nesting.rs
no-method-suggested-traits.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
no-method-suggested-traits.stderr Always sort suggestions before emitting them 2021-10-24 20:28:44 +00:00
no-trait.rs
no-trait.stderr
object-unsafe-trait-in-return-position-dyn-trait.rs Account for object safety when suggesting Box<dyn Trait> 2020-01-16 09:49:14 -08:00
object-unsafe-trait-in-return-position-dyn-trait.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
object-unsafe-trait-in-return-position-impl-trait.rs Account for object safety when suggesting Box<dyn Trait> 2020-01-16 09:49:14 -08:00
object-unsafe-trait-in-return-position-impl-trait.stderr Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
point-to-type-err-cause-on-impl-trait-return.rs Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
point-to-type-err-cause-on-impl-trait-return.stderr Fix late-bound ICE in unsized return suggestion 2022-04-02 15:29:55 -07:00
private_unused.rs Move private_unused.rs test to impl-trait 2021-08-18 09:11:43 -03:00
projection-mismatch-in-impl-where-clause.rs Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
projection-mismatch-in-impl-where-clause.stderr Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
projection.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
question_mark.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
recursive-impl-trait-type-direct.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
recursive-impl-trait-type-indirect.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
recursive-impl-trait-type-indirect.stderr Pretty print generator witness only in -Zverbose mode 2021-06-12 18:28:17 +02:00
recursive-impl-trait-type-through-non-recursive.rs Expand "recursive opaque type" diagnostic 2020-06-15 11:08:43 -07:00
recursive-impl-trait-type-through-non-recursive.stderr review comments 2020-06-15 12:11:28 -07:00
recursive-type-alias-impl-trait-declaration-too-subtle-2.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
recursive-type-alias-impl-trait-declaration-too-subtle-2.stderr Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
recursive-type-alias-impl-trait-declaration-too-subtle.rs prevent opaque types from appearing in impl headers 2022-04-11 15:11:27 +00:00
recursive-type-alias-impl-trait-declaration-too-subtle.stderr Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
recursive-type-alias-impl-trait-declaration.rs Don't bind hidden types when searching for matching impls 2022-03-28 16:29:54 +00:00
region-escape-via-bound-contravariant-closure.rs Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
region-escape-via-bound-contravariant.rs Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
region-escape-via-bound.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
region-escape-via-bound.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
return-position-impl-trait-minimal.rs
rpit-not-sized.rs don't do Sized/other fn signature checks on RPIT's real type 2022-05-26 10:21:20 -07:00
rpit-not-sized.stderr don't do Sized/other fn signature checks on RPIT's real type 2022-05-26 10:21:20 -07:00
static-return-lifetime-infered.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
static-return-lifetime-infered.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
trait_resolution.rs Don't bind hidden types when searching for matching impls 2022-03-28 16:29:54 +00:00
trait_type.rs
trait_type.stderr Suggest changing impl parameter types to match trait 2021-04-08 13:50:47 -07:00
two_tait_defining_each_other.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
two_tait_defining_each_other.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
two_tait_defining_each_other2.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
two_tait_defining_each_other2.stderr Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
two_tait_defining_each_other3.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
two_tait_defining_each_other3.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
type-alias-generic-param.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
type-alias-impl-trait-in-fn-body.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
type-arg-mismatch-due-to-impl-trait.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
type-arg-mismatch-due-to-impl-trait.stderr Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
type_parameters_captured.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
type_parameters_captured.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
universal-mismatched-type.rs
universal-mismatched-type.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
universal-two-impl-traits.rs Make def_key and HIR parenting consistent. 2021-03-12 22:48:32 +01:00
universal-two-impl-traits.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
universal_hrtb_anon.rs
universal_hrtb_named.rs
universal_in_adt_in_parameters.rs
universal_in_impl_trait_in_parameters.rs
universal_in_trait_defn_parameters.rs
universal_multiple_bounds.rs
universal_wrong_bounds.rs
universal_wrong_bounds.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
universal_wrong_hrtb.rs Fail gracefully when encountering an HRTB in APIT. 2022-06-03 22:50:14 +02:00
universal_wrong_hrtb.stderr Fail gracefully when encountering an HRTB in APIT. 2022-06-03 22:50:14 +02:00
unsafety-checking-cycle.rs Call is_freeze less in unsafety-checking 2020-02-14 20:12:46 +00:00
wf-eval-order.rs Fix bugs in evaluating WellFormed predicates 2020-10-06 11:19:31 +01:00
where-allowed-2.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
where-allowed-2.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
where-allowed.rs fix impl trait message, bless tests 2022-02-17 19:18:42 -08:00
where-allowed.stderr diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
xcrate.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00
xcrate_simple.rs