about summary refs log tree commit diff
path: root/src/test/compile-fail/fn-compare-mismatch.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-17/+0
2015-03-30Fallout in tests: largely changes to error messages.Niko Matsakis-0/+1
2014-01-12more backtickskud1ing-1/+1
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-2/+1
2012-11-15Update error messages and un-xfailTim Chevalier-6/+1
2012-08-30Fix some more test breakage.Graydon Hoare-2/+3
2012-08-30test: Fix compile-fail testsPatrick Walton-0/+5
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-1/+1
2012-08-13test: Modify error messages in some compile-fail tests in an attempt to ↵Patrick Walton-1/+1
unbreak the tree
2012-06-30change the test suite `//! kind` syntax to `//~ kind` in order to avoid aGareth Daniel Smith-1/+1
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-1/+1
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-01-16When pretty-printing fn types, leave off arg modes when they are the defaultMarijn Haverbeke-1/+1
This reduces ++/&& spam in the output to a bare minimum. Issue #1507
2012-01-13make "native fn" the type for bare functions, remove fn exprsNiko Matsakis-2/+1
2011-12-28On second thought, re-land pull request #1385 with backquotes; easier to ↵Graydon Hoare-1/+1
grep, can change in the future.
2011-12-25Use singlequotes in the typechecker too, to distinguish code and EnglishLenny222-1/+1
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-1/+1
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-10-07Add pass-by-ref annotation to the tests to make them typecheckMarijn Haverbeke-1/+1
Issue #1008
2011-08-20ReformatBrian Anderson-1/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-03Remove all xfail-stage0 directivesBrian Anderson-1/+0
While it is still technically possible to test stage 0, it is not part of any of the main testing rules and maintaining xfail-stage0 is a chore. Nobody should worry about how tests fare in stage0.
2011-07-27Reformat for new syntaxMarijn Haverbeke-3/+3
2011-06-25Add a test for mismatched types when comparing functionsBrian Anderson-0/+8