rust/src/test/auxiliary
bors b74208bc12 auto merge of #17669 : nikomatsakis/rust/multidispatch, r=pcwalton
Implement multidispatch and conditional dispatch. Because we do not attempt to preserve crate concatenation, this is a backwards compatible change. This is not yet fully integrated into method dispatch, so "UFCS"-style wrappers must be used to take advantage of the new features (see the run-pass tests).

cc #17307 (multidispatch)
cc #5527 (trait reform -- conditional dispatch)

Because we no longer preserve crate concatenability, this deviates slightly from what was specified in the RFC. The motivation for this change is described in [this blog post](http://smallcultfollowing.com/babysteps/blog/2014/09/30/multi-and-conditional-dispatch-in-traits/). I will post an amendment to the RFC in due course but do not anticipate great controversy on this point -- particularly as the RFCs more important features (e.g., conditional dispatch) just don't work without the change.
2014-10-10 03:02:02 +00:00
..
ambig_impl_2_lib.rs
anon_trait_static_method_lib.rs
anon-extern-mod-cross-crate-1.rs
cci_borrow_lib.rs
cci_capture_clause.rs
cci_class_2.rs
cci_class_3.rs
cci_class_4.rs
cci_class_5.rs
cci_class_6.rs
cci_class_cast.rs
cci_class_trait.rs
cci_class.rs
cci_const_block.rs
cci_const.rs test: Convert statics to constants 2014-10-09 09:44:52 -07:00
cci_impl_lib.rs
cci_intrinsic.rs
cci_iter_lib.rs
cci_nested_lib.rs tests: remove uses of Gc. 2014-10-02 17:02:15 +03:00
cci_no_inline_lib.rs
cfg_inner_static.rs
changing-crates-a1.rs
changing-crates-a2.rs
changing-crates-b.rs
coherence_inherent_cc_lib.rs
crate-method-reexport-grrrrrrr2.rs tests: remove uses of Gc. 2014-10-02 17:02:15 +03:00
crateresolve1-1.rs
crateresolve1-2.rs
crateresolve1-3.rs
crateresolve3-1.rs
crateresolve3-2.rs
crateresolve4a-1.rs
crateresolve4a-2.rs
crateresolve4b-1.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
crateresolve4b-2.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
crateresolve5-1.rs
crateresolve5-2.rs
crateresolve7x.rs
crateresolve8-1.rs
crateresolve_calories-1.rs
crateresolve_calories-2.rs
cross_crate_debuginfo_type_uniquing.rs
default_type_params_xc.rs
explicit_self_xcrate.rs
extern_calling_convention.rs
extern_mod_ordering_lib.rs
extern-crosscrate-source.rs liblibc: don't use int/uint for intptr_t/uintptr_t 2014-08-20 21:02:24 -04:00
foreign_lib.rs rustc: Encode the visibility of foreign items 2014-08-25 05:01:51 -07:00
go_trait.rs Convert tests to cross-crate, fix a RefCell bug I found in the process. 2014-10-09 17:19:53 -04:00
impl_privacy_xc_1.rs
impl_privacy_xc_2.rs
inherit_struct_lib.rs
inherited_stability.rs
inline_dtor.rs
inner_static.rs librustc: Forbid inherent implementations that aren't adjacent to the 2014-09-13 02:07:39 -07:00
iss.rs test: Convert statics to constants 2014-10-09 09:44:52 -07:00
issue2170lib.rs
issue13213aux.rs test: Convert statics to constants 2014-10-09 09:44:52 -07:00
issue13507.rs tests: remove uses of Gc. 2014-10-02 17:02:15 +03:00
issue_2242_a.rs
issue_2242_c.rs
issue_2316_a.rs
issue_2316_b.rs
issue_2472_b.rs
issue_2723_a.rs
issue_3136_a.rc
issue_3136_a.rs
issue_3907_1.rs
issue_3907.rs
issue_3979_traits.rs
issue_5844_aux.rs
issue_8401.rs
issue_9123.rs
issue_9155.rs
issue_9188.rs
issue_10031_aux.rs
issue_16723_multiple_items_syntax_ext.rs syntax: mark the managed_boxes feature as Removed. 2014-10-02 17:02:03 +03:00
issue-2380.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
issue-2414-a.rs
issue-2414-b.rs
issue-2526.rs
issue-2631-a.rs tests: remove uses of Gc. 2014-10-02 17:02:15 +03:00
issue-3012-1.rs
issue-4208-cc.rs
issue-4545.rs
issue-5518.rs
issue-5521.rs tests: remove uses of Gc. 2014-10-02 17:02:15 +03:00
issue-7178.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
issue-7899.rs
issue-8044.rs
issue-8259.rs
issue-9906.rs
issue-9968.rs
issue-10028.rs
issue-11224.rs
issue-11225-1.rs
issue-11225-2.rs
issue-11508.rs
issue-11529.rs
issue-11680.rs
issue-12133-dylib2.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
issue-12133-dylib.rs
issue-12133-rlib.rs
issue-12612-1.rs
issue-12612-2.rs
issue-12660-aux.rs Fixes ICE when using reexported unit-like structs 2014-09-30 16:22:55 +02:00
issue-13560-1.rs
issue-13560-2.rs
issue-13560-3.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
issue-13620-1.rs test: Convert statics to constants 2014-10-09 09:44:52 -07:00
issue-13620-2.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
issue-13872-1.rs
issue-13872-2.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
issue-13872-3.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
issue-14421.rs
issue-14422.rs
issue-15562.rs Add tests to make sure intrinsicck doesn't apply to non-intrinsic fn's. 2014-08-25 12:48:35 -07:00
issue-16643.rs Add test. 2014-08-25 13:37:40 -07:00
issue-16725.rs rustc: Encode the visibility of foreign items 2014-08-25 05:01:51 -07:00
issue-17662.rs Fold MethodOrigins to resolve inference variables they may contain. 2014-09-30 23:53:15 +03:00
issue-17718-const-privacy.rs test: Convert statics to constants 2014-10-09 09:44:52 -07:00
issue-17718.rs test: Convert statics to constants 2014-10-09 09:44:52 -07:00
kinds_in_metadata.rs
lang-item-public.rs Rename fail_ lang item to fail, closes #16114 2014-09-25 01:09:09 +02:00
linkage1.rs
linkage-visibility.rs
lint_group_plugin_test.rs Add lint groups; define built-in lint groups bad_style and unused 2014-08-30 09:12:04 +12:00
lint_output_format.rs
lint_plugin_test.rs
lint_stability.rs Lint stability now checks macro arguments. 2014-09-22 19:28:07 +02:00
logging_right_crate.rs
macro_crate_def_only.rs
macro_crate_test.rs Add enum variants to the type namespace 2014-09-19 15:11:00 +12:00
macro_export_inner_module.rs
moves_based_on_type_lib.rs
nested_item.rs
newtype_struct_xc.rs
no_std_crate.rs
noexporttypelib.rs librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
overloaded_autoderef_xc.rs
packed.rs librustc: handle repr on structs, require it for ffi, unify with packed 2014-08-20 21:02:23 -04:00
plugin_crate_outlive_expansion_phase.rs
priv-impl-prim-ty.rs librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
privacy_reexport.rs
privacy-struct-variant.rs
privacy-tuple-struct.rs
private_trait_xc.rs
pub_use_mods_xcrate.rs
pub_use_xcrate1.rs
pub_use_xcrate2.rs
reexport-should-still-link.rs
reexported_static_methods.rs
regions-bounded-method-type-parameters-cross-crate-lib.rs librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
rlib_crate_test.rs
roman_numerals.rs Add a guide to compiler plugins 2014-10-01 13:21:52 -07:00
sepcomp_cci_lib.rs add tests for separate compilation 2014-09-05 09:18:57 -07:00
sepcomp_lib.rs add tests for separate compilation 2014-09-05 09:18:57 -07:00
sepcomp-extern-lib.rs add tests for separate compilation 2014-09-05 09:18:57 -07:00
static_fn_inline_xc_aux.rs
static_fn_trait_xc_aux.rs
static_mut_xc.rs
static_priv_by_default.rs rustdoc: Correctly distinguish enums and types 2014-09-17 18:53:54 +12:00
static-function-pointer-aux.rs
static-methods-crate.rs
struct_destructuring_cross_crate.rs
struct_variant_xc_aux.rs
struct-field-privacy.rs
svh-a-base.rs
svh-a-change-lit.rs
svh-a-change-significant-cfg.rs
svh-a-change-trait-bound.rs
svh-a-change-type-arg.rs
svh-a-change-type-ret.rs
svh-a-change-type-static.rs
svh-a-comment.rs
svh-a-doc.rs
svh-a-macro.rs
svh-a-no-change.rs
svh-a-redundant-cfg.rs
svh-a-whitespace.rs
svh-b.rs
svh-uta-base.rs
svh-uta-change-use-trait.rs
svh-utb.rs
syntax-extension-with-dll-deps-1.rs
syntax-extension-with-dll-deps-2.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
trait_bounds_on_structs_and_enums_xc.rs
trait_default_method_xc_aux_2.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
trait_default_method_xc_aux.rs
trait_impl_conflict.rs
trait_inheritance_auto_xc_2_aux.rs
trait_inheritance_auto_xc_aux.rs
trait_inheritance_cross_trait_call_xc_aux.rs
trait_inheritance_overloading_xc.rs
trait_superkinds_in_metadata.rs
typeid-intrinsic2.rs
typeid-intrinsic.rs
unreachable-variant.rs
use_from_trait_xc.rs
weak-lang-items.rs
where_clauses_xc.rs
xc_private_method_lib.rs
xcrate_address_insignificant.rs
xcrate_static_addresses.rs
xcrate_struct_aliases.rs
xcrate_unit_struct.rs Fix cross-crate tuple structs in statics 2014-10-02 21:31:06 +02:00
xcrate-trait-lifetime-param.rs