about summary refs log tree commit diff
path: root/src/test/compile-fail/suppressed-error.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-18/+0
2016-05-02update test cases to reflect new messagesNiko Matsakis-4/+3
2015-01-12Fix testsuite errorsmdinger-1/+5
2014-10-29Always drop var IDs from type variables modulo -Z verbose, per PR discussionJakub Bukaj-1/+1
2014-10-29Update tests with the new diagnostic tweaksJakub Bukaj-1/+1
2014-10-24Update tests with the new error messagesJakub Bukaj-1/+2
2014-08-24Adjust the error messages to match the pattern "expected foo, found bar"Jonas Hietala-1/+1
Closes #8492
2013-09-25rustdoc: Change all code-blocks with a scriptAlex Crichton-1/+1
find src -name '*.rs' | xargs sed -i '' 's/~~~.*{\.rust}/```rust/g' find src -name '*.rs' | xargs sed -i '' 's/ ~~~$/ ```/g' find src -name '*.rs' | xargs sed -i '' 's/^~~~$/ ```/g'
2013-05-11rustc: Don't call type_error_message() with ty_err as the expected typeTim Chevalier-0/+14
In #6319, several people mentioned they ran into a "computing fictitious type" ICE in trans. This turns out to be because some of my recent changes to typeck::check::_match resulted in type errors getting reported with ty_err as the expected type, which meant the errors were suppressed, and typechecking incorrectly succeeded (since the errors weren't recorded). Changed the error messages in these cases not to use an expected type at all, rather, printing out a string describing the type that was expected (which is what the code originally did). The result is a bit repetitive and the proliferation of error-reporting functions in typeck::infer is a bit annoying, but I thought it was important to fix this now; more cleanup can happen later.