rust/src/test/auxiliary
P1start ed2aad8b43 Add lint groups; define built-in lint groups bad_style and unused
This adds support for lint groups to the compiler. Lint groups are a way of
grouping a number of lints together under one name. For example, this also
defines a default lint for naming conventions, named `bad_style`. Writing
`#[allow(bad_style)]` is equivalent to writing
`#[allow(non_camel_case_types, non_snake_case, non_uppercase_statics)]`. These
lint groups can also be defined as a compiler plugin using the new
`Registry::register_lint_group` method.

This also adds two built-in lint groups, `bad_style` and `unused`. The contents
of these groups can be seen by running `rustc -W help`.
2014-08-30 09:12:04 +12:00
..
ambig_impl_2_lib.rs
anon_trait_static_method_lib.rs
anon-extern-mod-cross-crate-1.rs mk: Move rust_test_helpers out of libstd 2014-06-05 17:55:41 -07:00
cci_borrow_lib.rs
cci_capture_clause.rs
cci_class_2.rs
cci_class_3.rs
cci_class_4.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
cci_class_5.rs
cci_class_6.rs
cci_class_cast.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
cci_class_trait.rs
cci_class.rs
cci_const_block.rs Allow blocks in const expressions 2014-05-13 17:24:07 -07:00
cci_const.rs
cci_impl_lib.rs
cci_intrinsic.rs librustc: Feature gate lang items and intrinsics. 2014-06-23 23:28:28 -07:00
cci_iter_lib.rs
cci_nested_lib.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07: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 Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
crateresolve1-1.rs test: Fix tests for crate_id removal 2014-07-05 12:46:42 -07:00
crateresolve1-2.rs test: Fix tests for crate_id removal 2014-07-05 12:46:42 -07:00
crateresolve1-3.rs test: Fix tests for crate_id removal 2014-07-05 12:46:42 -07:00
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 std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
crateresolve5-2.rs std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
crateresolve7x.rs
crateresolve8-1.rs
crateresolve_calories-1.rs
crateresolve_calories-2.rs
cross_crate_debuginfo_type_uniquing.rs debuginfo: Generate cross-crate unique type identifiers for debuginfo types. 2014-06-12 18:39:01 +02:00
default_type_params_xc.rs
explicit_self_xcrate.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
extern_calling_convention.rs Move std::{reflect,repr,Poly} to a libdebug crate 2014-05-27 21:44:51 -07:00
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
impl_privacy_xc_1.rs
impl_privacy_xc_2.rs std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
inherit_struct_lib.rs Allow inheritance between structs. 2014-04-20 13:41:18 +12:00
inherited_stability.rs Add stability inheritance 2014-06-18 22:22:26 -07:00
inline_dtor.rs
inner_static.rs
iss.rs
issue2170lib.rs
issue13213aux.rs Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
issue13507.rs Rename all raw pointers as necessary 2014-06-28 11:53:58 -07:00
issue_2242_a.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
issue_2242_c.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
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 core: Remove the cast module 2014-05-11 01:13:02 -07:00
issue_9123.rs
issue_9155.rs
issue_9188.rs
issue_10031_aux.rs
issue-2380.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
issue-2414-a.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
issue-2414-b.rs
issue-2526.rs Rename Share to Sync 2014-08-07 08:54:38 -07:00
issue-2631-a.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
issue-3012-1.rs
issue-4208-cc.rs
issue-4545.rs
issue-5518.rs test: Add tests for closed issues 2014-04-27 20:35:51 -07:00
issue-5521.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07: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 librustc: Remove the fallback to int for integers and f64 for 2014-06-29 11:47:58 -07:00
issue-8259.rs
issue-9906.rs librustc: Remove the fallback to int for integers and f64 for 2014-06-29 11:47:58 -07:00
issue-9968.rs
issue-10028.rs
issue-11224.rs librustc: Remove the fallback to int from typechecking. 2014-06-24 17:18:48 -07:00
issue-11225-1.rs
issue-11225-2.rs
issue-11508.rs
issue-11529.rs
issue-11680.rs rustc: Fix enum variant privacy across crates 2014-05-06 16:45:21 -07:00
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-13560-1.rs rustc: Don't allocate a cnum to syntax crates 2014-04-16 11:42:22 -07:00
issue-13560-2.rs rustc: Don't allocate a cnum to syntax crates 2014-04-16 11:42:22 -07:00
issue-13560-3.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
issue-13620-1.rs rustc: Crawl static initializers for reachability 2014-05-02 15:40:07 -07:00
issue-13620-2.rs extern crate foobar as foo; 2014-08-23 12:16:04 -07:00
issue-13872-1.rs rustc: Fix def ids of xcrate-reexported items 2014-04-30 19:24:21 -07:00
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 rustc: Account for typedefs in privacy 2014-05-27 09:04:08 -07:00
issue-14422.rs rustc: Account for typedefs in privacy 2014-05-27 09:04:08 -07:00
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
kinds_in_metadata.rs
lang-item-public.rs Test fixes from the rollup 2014-07-31 13:05:12 -07:00
linkage1.rs
linkage-visibility.rs std: Move dynamic_lib from std::unstable to std 2014-06-09 17:46:53 -07:00
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 Add stability inheritance 2014-06-18 22:22:26 -07:00
lint_plugin_test.rs Test lint plugins 2014-06-24 11:36:28 -07:00
lint_stability.rs stability lint: ignore code from macro expansion 2014-07-16 13:53:06 -07:00
logging_right_crate.rs Use phase(plugin) in tests 2014-06-09 14:29:30 -07:00
macro_crate_def_only.rs
macro_crate_test.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04: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
overloaded_autoderef_xc.rs librustc: Implement lifetime elision. 2014-07-19 13:10:58 -07:00
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 libsyntax: Allow + to separate trait bounds from objects. 2014-06-13 13:53:34 -07:00
priv-impl-prim-ty.rs
privacy_reexport.rs libsyntax: Accept use foo as bar; in lieu of use bar as foo; 2014-08-14 13:24:50 -07:00
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 libsyntax: Accept use foo as bar; in lieu of use bar as foo; 2014-08-14 13:24:50 -07:00
regions-bounded-method-type-parameters-cross-crate-lib.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
rlib_crate_test.rs rustc: Forbid plugin_registrar in only rlib form 2014-07-10 07:51:50 -07:00
static_fn_inline_xc_aux.rs
static_fn_trait_xc_aux.rs
static_mut_xc.rs
static_priv_by_default.rs libsyntax: Accept use foo as bar; in lieu of use bar as foo; 2014-08-14 13:24:50 -07:00
static-function-pointer-aux.rs
static-methods-crate.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
struct_destructuring_cross_crate.rs
struct_variant_xc_aux.rs Fix spurious non-exhaustive errors for cross-crate struct variants 2014-06-21 23:54:48 +02:00
struct-field-privacy.rs
svh-a-base.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-change-lit.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-change-significant-cfg.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-change-trait-bound.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-change-type-arg.rs Added tests checking that changes in type sig are recognized in SVH. 2014-05-15 11:09:26 +02:00
svh-a-change-type-ret.rs Added tests checking that changes in type sig are recognized in SVH. 2014-05-15 11:09:26 +02:00
svh-a-change-type-static.rs Added tests checking that changes in type sig are recognized in SVH. 2014-05-15 11:09:26 +02:00
svh-a-comment.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-doc.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-macro.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-no-change.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-redundant-cfg.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-a-whitespace.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-b.rs Some basic acceptance tests for better SVH. 2014-05-15 11:09:26 +02:00
svh-uta-base.rs A test case for a bug I found in the new SVH while reviewing it. 2014-05-15 11:09:26 +02:00
svh-uta-change-use-trait.rs A test case for a bug I found in the new SVH while reviewing it. 2014-05-15 11:09:26 +02:00
svh-utb.rs A test case for a bug I found in the new SVH while reviewing it. 2014-05-15 11:09:26 +02:00
syntax-extension-with-dll-deps-1.rs rustc: Add search paths to dylib load paths 2014-04-29 18:58:39 -07:00
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 librustc: Allow trait bounds on structures and enumerations, and check 2014-08-17 01:39:10 -07:00
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 std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
trait_superkinds_in_metadata.rs Rename Share to Sync 2014-08-07 08:54:38 -07:00
typeid-intrinsic2.rs
typeid-intrinsic.rs
unreachable-variant.rs rustc: Remove private enum variants 2014-04-16 08:12:43 -07:00
use_from_trait_xc.rs Disallow importing from types when reexport is involved 2014-07-17 13:50:54 +09:00
weak-lang-items.rs Use phase(plugin) in tests 2014-06-09 14:29:30 -07:00
where_clauses_xc.rs librustc: Implement simple where clauses. 2014-08-14 14:14:26 -07:00
xc_private_method_lib.rs
xcrate_address_insignificant.rs librustc: Make addresses of immutable statics insignificant unless 2014-06-17 11:44:00 -07:00
xcrate_static_addresses.rs Rename all raw pointers as necessary 2014-06-28 11:53:58 -07:00
xcrate_struct_aliases.rs librustc: Accept type aliases for structures in structure literals and 2014-07-04 17:07:31 -07:00
xcrate_unit_struct.rs
xcrate-trait-lifetime-param.rs