about summary refs log tree commit diff
path: root/src/test/compile-fail/use-mod.rs
AgeCommit message (Collapse)AuthorLines
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-33/+0
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-06Updated error message E0252Adam MedziƄski-1/+2
2016-03-16Stop ignoring expected note/help messages in compiletest suite.Corey Farwell-0/+1
Original issue: https://github.com/rust-lang/rust/issues/21195 Relevant PR: https://github.com/rust-lang/rust/pull/30778 Prior to this commit, if a compiletest testcase included the text "HELP:" or "NOTE:" (note the colons), then it would indicate to the compiletest suite that we should verify "help" and "note" expected messages. This commit updates this check to also check "HELP" and "NOTE" (not the absense of colons) so that we always verify "help" and "note" expected messages.
2016-01-22test falloutNick Cameron-0/+1
2015-02-02Test fixes and rebase conflictsAlex Crichton-3/+0
2015-01-02Change tests to use `self` instead of `mod` in use itemsNick Cameron-8/+8
2014-07-20Implement new mod import sugarJakub Wieczorek-0/+32
Implements RFC #168.