about summary refs log tree commit diff
path: root/src/test/compile-fail/ufcs-qpath-missing-params.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-26/+0
2017-02-13Standardize lifetime and type parameter count mismatch errorsJake Goulding-1/+1
They now always say how many lifetime / type parameters were expected and are explicit about stating "lifetime" or "type" instead of just "parameter".
2016-03-12std: Clean out deprecated APIsAlex Crichton-1/+11
Removes all unstable and deprecated APIs prior to the 1.8 release. All APIs that are deprecated in the 1.8 release are sticking around for the rest of this cycle. Some notable changes are: * The `dynamic_lib` module was moved into `rustc_back` as the compiler still relies on a few bits and pieces. * The `DebugTuple` formatter now special-cases an empty struct name with only one field to append a trailing comma.
2015-05-26Pluralize E0087-E0090 messages based on number of parameters.Nick Hamann-1/+1
2015-02-24syntax: don't use TraitRef in QPath.Eduard Burtescu-1/+1
2015-02-18Stabilize std::borrowAaron Turon-2/+1
This commit stabilizes `std::borrow`, making the following modifications to catch up the API with language changes: * It renames `BorrowFrom` to `Borrow`, as was originally intended (but blocked for technical reasons), and reorders the parameters accordingly. * It moves the type parameter of `ToOwned` to an associated type. This is somewhat less flexible, in that each borrowed type must have a unique owned type, but leads to a significant simplification for `Cow`. Flexibility can be regained by using newtyped slices, which is advisable for other reasons anyway. * It removes the owned type parameter from `Cow`, making the type much less verbose. * Deprecates the `is_owned` and `is_borrowed` predicates in favor of direct matching. The above API changes are relatively minor; the basic functionality remains the same, and essentially the whole module is now marked `#[stable]`. [breaking-change]
2015-01-15rustc: implement fully qualified UFCS expressions.Eduard Burtescu-0/+17