rust/src/test/auxiliary
Alex Crichton 0daaeab244 Conservatively export all trait methods and impls
The comments have more information as to why this is done, but the basic idea is
that finding an exported trait is actually a fairly difficult problem. The true
answer lies in whether a trait is ever referenced from another exported method,
and right now this kind of analysis doesn't exist, so the conservative answer of
"yes" is always returned to answer whether a trait is exported.

Closes #11224
Closes #11225
2013-12-31 12:42:13 -08:00
..
ambig_impl_2_lib.rs test: Fix tests. rs=tests 2013-03-13 20:08:35 -07:00
anon-extern-mod-cross-crate-1.rs Rename pkgid to crate_id 2013-12-19 10:10:23 -05:00
anon_trait_static_method_lib.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
cci_borrow_lib.rs test: De-export aux, bench, compile-fail, and run-fail. rs=deexporting 2013-01-30 15:08:45 -08:00
cci_capture_clause.rs Fallout of rewriting std::comm 2013-12-16 17:47:11 -08:00
cci_class.rs test: Residual de-muting of the test suite. rs=demuting 2013-02-25 15:15:20 -08:00
cci_class_2.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
cci_class_3.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
cci_class_4.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
cci_class_5.rs Fix warnings it tests 2013-08-17 08:42:35 -07:00
cci_class_6.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
cci_class_cast.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
cci_class_trait.rs test: Residual de-muting of the test suite. rs=demuting 2013-02-25 15:15:20 -08:00
cci_const.rs librustc: Remove the const declaration form everywhere 2013-03-22 22:24:35 -07:00
cci_impl_lib.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
cci_intrinsic.rs Remove unused abi attributes. 2013-10-14 13:10:36 +02:00
cci_iter_lib.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
cci_nested_lib.rs register snapshots 2013-10-23 18:06:12 -04:00
cci_no_inline_lib.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
cfg_inner_static.rs Ensure that skipped items aren't encoded 2013-09-26 13:54:50 -07:00
coherence_inherent_cc_lib.rs Fix bug in coherence that causes all cross-crate impls to be regarded as 2013-03-06 11:02:19 -05:00
crate-method-reexport-grrrrrrr2.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve1-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve1-2.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve1-3.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve2-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve2-2.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve2-3.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve3-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve3-2.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve4a-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve4a-2.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve4b-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve4b-2.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve5-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve5-2.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve7x.rs test: De-export aux, bench, compile-fail, and run-fail. rs=deexporting 2013-01-30 15:08:45 -08:00
crateresolve8-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
crateresolve_calories-1.rs Rename pkgid to crate_id 2013-12-19 10:10:23 -05:00
crateresolve_calories-2.rs Rename pkgid to crate_id 2013-12-19 10:10:23 -05:00
explicit_self_xcrate.rs librustc: Stop reexporting the standard modules from prelude. 2013-05-29 19:04:53 -07:00
extern-crosscrate-source.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
extern_calling_convention.rs Don't use win64 calling convention on 32-bit machines. 2013-11-19 12:46:28 -05:00
extern_mod_ordering_lib.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
foreign_lib.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
impl_privacy_xc_1.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
impl_privacy_xc_2.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
inline_dtor.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
inner_static.rs Remove __extensions__ in names for a "pretty name" 2013-09-02 23:12:41 -07:00
iss.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-2380.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-2414-a.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-2414-b.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-2526.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-2631-a.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-3012-1.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-4208-cc.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue-4545.rs Add tests and un-xfail a few issues 2013-10-10 18:48:52 -07:00
issue-7178.rs Adding tests for closed issues 2013-12-18 09:12:04 -08:00
issue-8044.rs Add tests and un-xfail a few issues 2013-10-10 18:48:52 -07:00
issue-8259.rs Adding tests for closed issues 2013-12-18 09:12:04 -08:00
issue-9906.rs Propagate reachability through reexported impls 2013-10-21 10:37:36 -07:00
issue-9968.rs Propagate reachability through reexported impls 2013-10-21 10:37:36 -07:00
issue-11224.rs Conservatively export all trait methods and impls 2013-12-31 12:42:13 -08:00
issue-11225-1.rs Conservatively export all trait methods and impls 2013-12-31 12:42:13 -08:00
issue-11225-2.rs Conservatively export all trait methods and impls 2013-12-31 12:42:13 -08:00
issue2170lib.rs switch Drop to &mut self 2013-09-16 22:19:23 -04:00
issue2378a.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue2378b.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue_2242_a.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue_2242_c.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue_2316_a.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
issue_2316_b.rs Add appropriate #[feature] directives to tests 2013-10-06 14:39:25 -07:00
issue_2472_b.rs Remove all uses of pub impl. rs=style 2013-06-01 09:18:27 -07:00
issue_2723_a.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
issue_3136_a.rc Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
issue_3136_a.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
issue_3907.rs Add a bunch of tests for closed issues 2013-08-13 21:32:34 -07:00
issue_3907_1.rs testsuite: Add various test cases 2013-03-27 10:09:02 -07:00
issue_3979_traits.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
issue_5844_aux.rs Add a test for #5844 (a closed issue now) 2013-07-22 23:09:21 -07:00
issue_8401.rs Add even more tests 2013-08-15 14:22:36 -07:00
issue_9123.rs Translate nested items in default methods 2013-09-13 01:42:44 -07:00
issue_9155.rs Close out #9155 2013-10-03 00:15:54 -07:00
issue_9188.rs Guarantee that statics have unique names 2013-09-14 23:19:11 -07:00
kinds_in_metadata.rs librustc: Add missing case for the Pod bound in tydecode. 2013-12-19 14:13:19 -08:00
linkage-visibility.rs Reduce the aggressiveness of reachability 2013-10-31 20:47:23 -07:00
lint_stability.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
logging_right_crate.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
moves_based_on_type_lib.rs switch Drop to &mut self 2013-09-16 22:19:23 -04:00
nested_item.rs Correctly encode item visibility in metadata 2013-09-24 09:57:25 -07:00
newtype_struct_xc.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
no_std_crate.rs Allow linking against crates with #[no_std] 2013-07-25 19:23:17 -07:00
noexporttypelib.rs test: Fix a bunch of compile-fail tests. rs=bustage 2012-12-28 19:36:35 -08:00
packed.rs Correctly encode item visibility in metadata 2013-09-24 09:57:25 -07:00
priv-impl-prim-ty.rs Fix a bug in exporting trait implementations 2013-12-03 15:15:17 -08:00
privacy_reexport.rs Move more of the exportation burden into privacy 2013-11-22 10:02:10 -08:00
private_variant_1.rs librustc: Replace impl Type : Trait with impl Trait for Type. rs=implflipping 2013-02-14 14:44:12 -08:00
private_variant_xc.rs Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
pub_use_mods_xcrate.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
pub_use_xcrate1.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
pub_use_xcrate2.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
reexport-should-still-link.rs Use the result of privacy for reachability 2013-10-10 03:31:59 -07:00
reexported_static_methods.rs Forbid pub/priv where it has no effect 2013-08-12 23:20:46 -07:00
static-function-pointer-aux.rs Rename pkgid to crate_id 2013-12-19 10:10:23 -05:00
static-methods-crate.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
static_fn_inline_xc_aux.rs remove the float type 2013-10-01 14:54:10 -04:00
static_fn_trait_xc_aux.rs remove the float type 2013-10-01 14:54:10 -04:00
static_mut_xc.rs Add 'static mut' items to the language 2013-06-23 17:59:35 -07:00
static_priv_by_default.rs Use __morestack to detect stack overflow 2013-10-19 09:43:31 -07:00
struct_destructuring_cross_crate.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
struct_variant_xc_aux.rs rustc: Add a lint for the obsolete crate-level link attribute 2013-12-23 21:04:01 -08:00
trait_default_method_xc_aux.rs Rename pkgid to crate_id 2013-12-19 10:10:23 -05:00
trait_default_method_xc_aux_2.rs Make crate hash stable and externally computable. 2013-12-10 17:04:24 -07:00
trait_inheritance_auto_xc_2_aux.rs add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
trait_inheritance_auto_xc_aux.rs librustc: Remove implicit self from the language, except for old-style drop blocks. 2013-03-13 20:07:10 -07:00
trait_inheritance_cross_trait_call_xc_aux.rs librustc: Remove implicit self from the language, except for old-style drop blocks. 2013-03-13 20:07:10 -07:00
trait_inheritance_overloading_xc.rs Stop accepting 'impl ...;', require {} instead 2013-09-24 14:12:02 -07:00
trait_superkinds_in_metadata.rs librustc: Add missing case for the Pod bound in tydecode. 2013-12-19 14:13:19 -08:00
trait_typedef_cc.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
typeid-intrinsic.rs Wrap the return value of the type_id intrinsic in an opaque box 2013-11-30 02:58:36 -05:00
typeid-intrinsic2.rs Wrap the return value of the type_id intrinsic in an opaque box 2013-11-30 02:58:36 -05:00
use_from_trait_xc.rs automated whitespace fixes 2013-06-13 18:03:08 -04:00
xc_conditions.rs Add tests for cross-crate condition handling. Close #5446. 2013-08-19 15:09:20 -07:00
xc_conditions_2.rs Add tests for cross-crate condition handling. Close #5446. 2013-08-19 15:09:20 -07:00
xc_conditions_3.rs test: Remove non-procedure uses of do from compiletest, libstd tests, 2013-11-26 08:25:27 -08:00
xc_conditions_4.rs remove the float type 2013-10-01 14:54:10 -04:00
xc_private_method_lib.rs Enable privacy check for enum methods. 2013-08-07 14:30:00 +02:00
xcrate-trait-lifetime-param.rs encode trait lifetime params in metadata to allow cross-crate usage 2013-12-08 18:09:31 -05:00
xcrate_address_insignificant.rs Prevent a rare linkage issue with an xcrate static 2013-09-17 11:24:05 -07:00
xcrate_static_addresses.rs Resume inlining globals across crates 2013-09-16 07:29:49 -07:00
xcrate_unit_struct.rs Fix unit structs in cross-crate situtations 2013-08-07 22:41:13 -04:00