rust/tests/ui/traits
Matthias Krüger 87540879f4
Rollup merge of #117835 - Nilstrieb:note-object-lifetime-defaults, r=compiler-errors
Note about object lifetime defaults in does not live long enough error

This is a aspect of Rust that frequently trips up people who are not aware of it yet. This diagnostic attempts to explain what's happening and why the lifetime constraint, that was never mentioned in the source, arose.

The implementation feels a bit questionable, I'm not sure whether there are better ways to do this. There probably are.

fixes #117835

r? types
2023-11-20 20:56:40 +01:00
..
alias Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
associated_type_bound Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
auxiliary Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
bound Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
default-method Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inductive-overflow Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
inheritance More accurately point at arguments 2023-08-26 19:25:46 +00:00
negative-bounds Don't compute trait super bounds unless they're positive 2023-05-04 17:24:13 +00:00
negative-impls Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
new-solver Auto merge of #117278 - lcnr:try-normalize-ty, r=compiler-errors 2023-11-17 10:16:41 +00:00
non_lifetime_binders Make regionck care about placeholders in outlives components 2023-11-19 19:12:20 +00:00
object Use the actual computed crate name for -Zprint-vtable-sizes 2023-11-05 16:29:15 +00:00
reservation-impl More accurately point at arguments 2023-08-26 19:25:46 +00:00
solver-cycles Don't record spans for predicates in coherence 2023-08-30 18:24:18 +00:00
suggest-dereferences Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
trait-upcasting Avoid side-effects from try_coerce when suggesting borrowing LHS of cast 2023-08-19 22:12:51 +00:00
vtable Don't emit useless vptrs for marker traits 2023-07-19 12:06:31 +00:00
wf-object Move /src/test to /tests 2023-01-11 09:32:08 +00:00
alignment-gep-tup-like-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anon-static-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anon_trait_static_method_exe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
as-struct-constructor.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
as-struct-constructor.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assignability-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-in-superbad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-in-superbad.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-in-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
astconv-cycle-between-and-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
augmented-assignments-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-method-typaram-kind.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-method-typaram-kind.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
bad-sized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-sized.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bug-7183-generics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bug-7295.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cache-issue-18209.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cache-reached-depth-ice.rs update tests 2023-06-19 15:39:55 +02:00
cache-reached-depth-ice.stderr update tests 2023-06-19 15:39:55 +02:00
coercion-generic-bad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coercion-generic-bad.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
coercion-generic-regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coercion-generic-regions.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
coercion-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coercion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
composition-trivial.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conditional-dispatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conditional-model-fn.rs 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
copy-guessing.rs Rename drop_copy lint to dropping_copy_types 2023-05-21 13:37:32 +02:00
copy-guessing.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
copy-impl-cannot-normalize.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy-impl-cannot-normalize.stderr Delay normalization bugs instead of reporting them 2023-01-13 23:19:36 +00:00
copy-is-not-modulo-regions.not_static.stderr may not => cannot 2023-03-08 00:00:18 +00:00
copy-is-not-modulo-regions.rs may not => cannot 2023-03-08 00:00:18 +00:00
copy-requires-self-wf.rs Rebase and move UI tests 2023-01-13 23:06:29 +00:00
cycle-cache-err-60010.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cycle-cache-err-60010.stderr add test 2023-05-19 10:44:38 +02:00
cycle-generic-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cycle-type-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deny-builtin-object-impl.current.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
deny-builtin-object-impl.next.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
deny-builtin-object-impl.rs Merge attrs, better validation 2023-06-20 04:38:55 +00:00
do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
do-not-mention-type-params-by-name-in-suggestion-issue-96292.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
dont-autoderef-ty-with-escaping-var.rs Use erased self type when autoderefing for trait error suggestion 2023-07-23 14:13:52 -04:00
dont-autoderef-ty-with-escaping-var.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
duplicate-methods.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-methods.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-trait.rs remove invalid ignore-pretty 2023-04-03 09:24:11 +02:00
early-vtbl-resolution.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elaborate-type-region.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
false-ambiguity-where-clause-builtin-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fmt-pointer-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-trait-cast-diagnostic.rs Add note when FnPtr vs. FnDef impl trait 2023-01-14 10:37:56 +00:00
fn-trait-cast-diagnostic.stderr Add note when FnPtr vs. FnDef impl trait 2023-01-14 10:37:56 +00:00
generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ice-with-dyn-pointee-errors.rs Add passing & failing test for bultin dyn trait generation 2023-06-27 17:52:26 +09:30
ice-with-dyn-pointee-errors.stderr Add passing & failing test for bultin dyn trait generation 2023-06-27 17:52:26 +09:30
ice-with-dyn-pointee.rs Add passing & failing test for bultin dyn trait generation 2023-06-27 17:52:26 +09:30
ignore-err-impls.rs Filter impl and where-clause candidates that reference errors 2023-01-11 20:03:29 +00:00
ignore-err-impls.stderr Render missing generics suggestion verbosely 2023-01-12 22:04:30 +00:00
impl-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-bounds-checking.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-bounds-checking.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
impl-can-not-have-untraitful-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-can-not-have-untraitful-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-different-num-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-different-num-params.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-evaluation-order.rs Rename drop_copy lint to dropping_copy_types 2023-05-21 13:37:32 +02:00
impl-for-module.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-for-module.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-implicit-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-inherent-prefer-over-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-method-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-method-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-object-overlap-issue-23853.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-of-supertrait-has-wrong-lifetime-parameters.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-of-supertrait-has-wrong-lifetime-parameters.stderr Point at impl self type for impl wf obligations 2023-01-12 20:44:47 +00:00
impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl_trait_as_trait_return_position.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infer-from-object-issue-26952.rs vars are ? 2023-04-25 19:53:09 +00:00
inherent-method-order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_operator_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_operator_trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3683.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3973.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3973.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-4107.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-6128.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-6334.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-7013.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-7013.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
issue-8153.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-8153.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-9394-inherited-calls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-18400.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-18400.stderr Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
issue-18412.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-20692.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-20692.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-22019.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-22110.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-22384.rs Move test files 2023-04-20 15:06:17 -03:00
issue-22384.stderr Move test files 2023-04-20 15:06:17 -03:00
issue-22655.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23003-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23003.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23825.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-24010.rs Implement selection for unsize for better coercion behavior 2023-07-08 03:41:22 +00:00
issue-26339.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28576.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28576.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32963.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32963.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33140-hack-boundaries.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33140-hack-boundaries.stderr Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
issue-33140.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33140.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35869.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35869.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38033.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38404.rs Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
issue-38404.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
issue-38604.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38604.stderr On object safety error, mention new enum as alternative 2023-10-29 23:55:46 +00:00
issue-43132.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43784-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43784-supertrait.stderr Keep obligation chain when elaborating obligations 2023-01-13 18:20:23 +00:00
issue-50480.rs may not => cannot 2023-03-08 00:00:18 +00:00
issue-50480.stderr may not => cannot 2023-03-08 00:00:18 +00:00
issue-52893.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-52893.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
issue-56202.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-56488.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-59029-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-59029-1.stderr Tweak wording 2023-10-13 19:18:46 +00:00
issue-59029-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65284-suggest-generic-trait-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65284-suggest-generic-trait-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65673.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65673.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66768.rs Move issue 29181, 2804, 17431, 66768 2023-08-24 20:44:08 +03:00
issue-68295.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68295.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-70944.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71036.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71036.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71136.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71136.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
issue-72410.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72410.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72455.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75627.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75627.stderr Render missing generics suggestion verbosely 2023-01-12 22:04:30 +00:00
issue-77982.rs Fix windows test that has different stderr output 2023-10-06 15:51:04 +00:00
issue-77982.stderr Fix windows test that has different stderr output 2023-10-06 15:51:04 +00:00
issue-78372.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78372.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
issue-78632.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79458.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79458.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82830.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83538-tainted-cache-after-cycle.rs update tests 2023-06-19 15:39:55 +02:00
issue-83538-tainted-cache-after-cycle.stderr update tests 2023-06-19 15:39:55 +02:00
issue-84399-bad-fresh-caching.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85360-eval-obligation-ice.rs update tests 2023-06-19 15:39:55 +02:00
issue-85360-eval-obligation-ice.stderr update tests 2023-06-19 15:39:55 +02:00
issue-85735.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85735.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87558.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87558.stderr feat: implement better error for manual impl of Fn* traits 2023-03-10 20:32:24 +13:00
issue-89119.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90195-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90195.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90662-projection-caching.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91594.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91594.stderr Point at HIR types when impl trait ref doesn't normalize 2023-01-12 20:44:47 +00:00
issue-91949-hangs-on-recursion.rs write-long-types-to-disk: update tests 2023-07-25 12:08:44 +01:00
issue-91949-hangs-on-recursion.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
issue-92292.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95311.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95898.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95898.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96664.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96665.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97576.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97576.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97695-double-trivial-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99875.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99875.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
issue-102989.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102989.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103563.rs fix: Unexpected trait bound not satisfied in HRTB 2023-02-13 19:39:44 +08:00
issue-104322.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105231.rs Don't record spans for predicates in coherence 2023-08-30 18:24:18 +00:00
issue-105231.stderr Don't record spans for predicates in coherence 2023-08-30 18:24:18 +00:00
issue-106072.rs Emits E0599 when meeting MyTrait::missing_method 2023-05-17 16:59:39 +08:00
issue-106072.stderr Emits E0599 when meeting MyTrait::missing_method 2023-05-17 16:59:39 +08:00
item-inside-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-privacy.rs diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
item-privacy.stderr Auto merge of #117415 - matthiaskrgr:rollup-jr2p1t2, r=matthiaskrgr 2023-10-30 20:50:14 +00:00
kindck-owned-contains-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
map-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
map-types.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
matching-lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
matching-lifetimes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-private.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
monad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
monomorphized-callees-with-ty-params-3314.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-bad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-bad.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-conditional-impl-not-considered.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-convert-ambig-dest.rs Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
multidispatch-convert-ambig-dest.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
multidispatch-infer-convert-target.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutual-recursion-issue-75860.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutual-recursion-issue-75860.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-fallback-multiple-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-fallback-multiple-impls.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-struct.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
non-lifetime-via-dyn-builtin.current.stderr Don't instantiate the binder twice when assembling object candidate 2023-11-06 23:41:33 +00:00
non-lifetime-via-dyn-builtin.next.stderr Don't instantiate the binder twice when assembling object candidate 2023-11-06 23:41:33 +00:00
non-lifetime-via-dyn-builtin.rs Don't instantiate the binder twice when assembling object candidate 2023-11-06 23:41:33 +00:00
normalize-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-suggest-non-existing-fully-qualified-path.rs Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
not-suggest-non-existing-fully-qualified-path.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
object-does-not-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-does-not-impl-trait.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
object-one-type-two-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
objects-owned-object-borrowed-method-headerless.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
operator-overloading-issue-52025.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlap-not-permitted-for-builtin-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlap-not-permitted-for-builtin-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlap-permitted-for-marker-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
param-without-lifetime-constraint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
param-without-lifetime-constraint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parameterized-with-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-deduction.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-tail-is-generic-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-tail-is-generic-errors.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-tail-is-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
principal-less-objects.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
privacy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
project-modulo-regions.rs update tests 2023-06-19 15:39:55 +02:00
project-modulo-regions.with_clause.stderr update tests 2023-06-19 15:39:55 +02:00
project-modulo-regions.without_clause.stderr update tests 2023-06-19 15:39:55 +02:00
region-pointer-simple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolution-in-overloaded-op.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolution-in-overloaded-op.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-fn-body.mir.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-fn-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-fn-body.thir.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-inherent-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-inherent-impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-ok-cc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-ok.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl-cc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl-cc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-without-lifetime-constraint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-without-lifetime-constraint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-method-generic-inference.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-method-generic-inference.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-method-overwriting.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-outlives-a-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
staticness-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
staticness-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-fully-qualified-closure.rs adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
suggest-fully-qualified-closure.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
suggest-fully-qualified-path-with-adjustment.rs Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
suggest-fully-qualified-path-with-adjustment.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
suggest-fully-qualified-path-without-adjustment.rs Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
suggest-fully-qualified-path-without-adjustment.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
suggest-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-where-clause.stderr More accurately point at arguments 2023-08-26 19:25:46 +00:00
superdefault-generics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-polarity.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-trait-polarity.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-trait-polarity.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-2.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
test-2.stderr On object safety error, mention new enum as alternative 2023-10-29 23:55:46 +00:00
test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
to-str.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
track-obligations.rs Add tests 2023-01-13 18:20:24 +00:00
track-obligations.stderr Add tests 2023-01-13 18:20:24 +00:00
trait-object-lifetime-default-note.rs Note about object lifetime defaults in does not live long enough error 2023-11-12 13:51:16 +01:00
trait-object-lifetime-default-note.stderr Note about object lifetime defaults in does not live long enough error 2023-11-12 13:51:16 +01:00
trait-or-new-type-instead.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-or-new-type-instead.stderr Tighter spans for bad inherent impl types 2023-02-13 18:41:18 +00:00
trivial_impl.rs Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl.stderr Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl2.rs Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl2.stderr Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl3.rs Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl3.stderr Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl4.rs Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl4.stderr Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl_sized.rs Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
trivial_impl_sized.stderr Add some tests around where bounds on associated items and their lack of effect on impls 2023-06-26 09:56:28 +00:00
typeclasses-eq-example-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typeclasses-eq-example.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ufcs-object.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsend-future.rs Bless tests. 2023-09-23 13:47:30 +00:00
unsend-future.stderr Bless tests. 2023-09-23 13:47:30 +00:00
unspecified-self-in-trait-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unspecified-self-in-trait-ref.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-before-def.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
vtable-res-trait-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
vtable-res-trait-param.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
where-clause-vs-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
with-bounds-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
with-dst.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrong-mul-method-signature.rs Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
wrong-mul-method-signature.stderr Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00