summary refs log tree commit diff
path: root/src/test/compile-fail/trait-duplicate-methods.rs
AgeCommit message (Collapse)AuthorLines
2017-06-15Clearer Error Message for Duplicate DefinitionAlex Ozdemir-3/+4
Clearer use of the error message and span labels to communicate duplicaiton defitions/imports. New error format: ``` error[E0428]: the name `Foo` is defined twice --> example.rs:2:1 | 1 | trait Foo { } | ------------- previous definition of the trait `Foo` here 2 | struct Foo { } | ^^^^^^^^^^^^^^ `Foo` redefined here = note: `Foo` must be defined only once in the type namespace of this module error: aborting due to previous error ```
2016-08-20Fix broken tests for E0428trixnz-0/+1
2016-03-16Fix fallout in testsJeffrey Seyfried-2/+2
2013-06-28librustc: Fix merge fallout and test cases.Patrick Walton-1/+1
2013-06-12Add tests for duplicate methods on traits/impls.Luqman Aden-0/+16