about summary refs log tree commit diff
path: root/src/test/ui/span/issue-35987.rs
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-10/+0
2018-03-14Add empty main() to tests where it is missing.Eric Huss-0/+2
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-0/+1
2016-11-08Point to type argument span when used as traitEsteban Küber-0/+21
Given the following code: ```rust struct Foo<T: Clone>(T); use std::ops::Add; impl<T: Clone, Add> Add for Foo<T> { type Output = usize; fn add(self, rhs: Self) -> Self::Output { unimplemented!(); } } ``` present the following output: ```nocode error[E0404]: `Add` is not a trait --> file3.rs:5:21 | 5 | impl<T: Clone, Add> Add for Okok<T> { | --- ^^^ expected trait, found type parameter | | | type parameter defined here ```