about summary refs log tree commit diff
path: root/src/test/ui/rfc-2632-const-trait-impl/const-drop-fail.precise.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-99/+0
2022-10-21Require Drop impls to have the same constness on its bounds as the bounds on ↵Oli Scherer-22/+43
the struct have
2022-10-04Only allow ~const bounds for traits with #[const_trait]Oli Scherer-8/+8
2022-08-21Adjust messages, address some nitsMichael Goulet-2/+2
2022-08-18Reword "Required because of the requirements on the impl of ..."Andy Wang-2/+2
2022-03-24Properly track `ImplObligation`sEsteban Kuber-0/+6
Instead of probing for all possible impls that could have caused an `ImplObligation`, keep track of its `DefId` and obligation spans for accurate error reporting. Follow up to #89580. Addresses #89418. Remove some unnecessary clones. Tweak output for auto trait impl obligations.
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-18/+15
2022-03-07Update tests after feature stabilizationEric Holk-9/+9
2022-01-26add note suggesting that predicate is satisfied but is not constMichael Goulet-0/+5
2022-01-26Improve selection errors for `~const` trait boundsDeadbeef-7/+19
2022-01-18adjust testsMichael Goulet-32/+25
2021-11-20Point at source of trait bound obligations in more placesEsteban Kuber-3/+3
Be more thorough in using `ItemObligation` and `BindingObligation` when evaluating obligations so that we can point at trait bounds that introduced unfulfilled obligations. We no longer incorrectly point at unrelated trait bounds (`substs-ppaux.verbose.stderr`). In particular, we now point at trait bounds on method calls. We no longer point at "obvious" obligation sources (we no longer have a note pointing at `Trait` saying "required by a bound in `Trait`", like in `associated-types-no-suitable-supertrait*`). Address part of #89418.
2021-10-25fix(rustc_typeck): report function argument errors on matching typeMichael Howell-3/+0
Fixes #90101
2021-09-16fix rebaseEsteban Kuber-0/+9
2021-09-09Add another test case + fmtDeadbeef-5/+37
2021-09-09fix precise live dropsDeadbeef-0/+27