summary refs log tree commit diff
path: root/src/test/compile-fail/coherence-default-trait-impl.rs
AgeCommit message (Collapse)AuthorLines
2015-12-16Provide overlapping types for coherence errorsAaron Turon-1/+1
Currently, a coherence error based on overlapping impls simply mentions the trait, and points to the two conflicting impls: ``` error: conflicting implementations for trait `Foo` ``` With this commit, the error will include all input types to the trait (including the `Self` type) after unification between the overlapping impls. In other words, the error message will provide feedback with full type details, like: ``` error: conflicting implementations of trait `Foo<u32>` for type `u8`: ``` When the `Self` type for the two impls unify to an inference variable, it is elided in the output, since "for type `_`" is just noise in that case. Closes #23980
2015-04-21test: Fix fallout in testsAlex Crichton-5/+3
2015-04-09Remove `ignore-tidy-linelength` from tests that no longer need itLuke Gallagher-2/+0
2015-03-20Check trait unsafety for defaulted traitsFlavio Percoco-0/+10
2015-02-22Restore the coherence visitor and fix falloutsFlavio Percoco-3/+0
2015-02-22Record default implementations in a separate stepFlavio Percoco-1/+3
2015-02-22Test all the thingsFlavio Percoco-0/+25