rust/src/test/ui/box
Esteban Kuber 6b9d910639 Point at source of trait bound obligations in more places
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-11-20 18:54:31 +00:00
..
alloc-unstable-fail.rs
alloc-unstable-fail.stderr
alloc-unstable.rs
into-boxed-slice-fail.rs
into-boxed-slice-fail.stderr Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
into-boxed-slice.rs
leak-alloc.rs
leak-alloc.stderr
new-box-syntax.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
new-box.rs
new.rs