rust/src
bors c8e10e386a Auto merge of #50879 - petrochenkov:lintconv, r=nikomatsakis
Fix naming conventions for new lints

We actually have an RFC from Oct 2014 specifying naming conventions for lints that is still relevant - https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#lints.
Unfortunately, human memory doesn't work for such prolonged periods of time, so a number of recently added edition-related lints don't follow the conventions.
This PR fixes names for those lints.

Unstable lints, simply renamed:
- `unused_lifetime` -> `unused_lifetimes`
- `absolute_path_not_starting_with_crate` -> `absolute_paths_not_starting_with_crate`
- `unnecessary_extern_crate` -> `unnecessary_extern_crates`

New lints stabilized in the last couple of releases, registered as renamed (old names still work with a warning):
- `single_use_lifetime` -> `single_use_lifetimes`
- `elided_lifetime_in_path` -> `elided_lifetimes_in_paths`
- `bare_trait_object` -> `bare_trait_objects`
- `unstable_name_collision` -> `unstable_name_collisions`
- `unused_doc_comment` -> `unused_doc_comments`

NOT changed, too old to rename:
- `const_err` -> `const_errors`
- `unused_allocation` -> `unused_allocations`

NOT changed, deprecation lints, no need to rename, they are going to be removed anyway:
- `invalid_type_param_default` -> `invalid_type_param_defaults`
- `missing_fragment_specifier` -> `missing_fragment_specifiers`
- `tyvar_behind_raw_pointer` -> `tyvars_behind_raw_pointer`
- `illegal_floating_point_literal_pattern` -> `illegal_floating_point_literal_patterns`
2018-05-25 01:33:45 +00:00
..
bootstrap Rollup merge of #50864 - jakllsch:add-netbsd-arm-target-specs, r=alexcrichton 2018-05-24 16:02:37 +08:00
build_helper
ci armebv7r-none-eabihf: default to ARM mode 2018-05-18 20:57:48 +02:00
dlmalloc@c99638dc2e
doc Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
etc rust-gdb: work around the re-used -d argument in cgdb 2018-05-21 20:58:19 -04:00
grammar
jemalloc@1f5a28755e
liballoc Make Unpin safe to implement 2018-05-22 17:24:49 -07:00
liballoc_jemalloc
liballoc_system
libarena
libbacktrace
libcompiler_builtins@4cfd7101eb
libcore Auto merge of #50984 - cramertj:unpin-changes, r=aturon 2018-05-24 20:58:12 +00:00
libfmt_macros
libgraphviz
liblibc@a7e78a78e1
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc Auto merge of #50879 - petrochenkov:lintconv, r=nikomatsakis 2018-05-25 01:33:45 +00:00
librustc_allocator
librustc_apfloat
librustc_asan
librustc_borrowck
librustc_codegen_llvm Auto merge of #51023 - kennytm:rollup, r=kennytm 2018-05-24 12:05:47 +00:00
librustc_codegen_utils
librustc_cratesio_shim
librustc_data_structures Auto merge of #50937 - nikomatsakis:chalkify-engine-2, r=scalexm 2018-05-24 23:10:18 +00:00
librustc_driver
librustc_errors Improve the diagnostic around impl Trait <-> generic param mismatch 2018-05-21 18:06:28 +02:00
librustc_incremental
librustc_lint Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
librustc_llvm
librustc_lsan
librustc_metadata Auto merge of #50528 - whitfin:issue-50508, r=michaelwoerister 2018-05-23 09:50:54 +00:00
librustc_mir Always mark unstable const fn as not const 2018-05-24 17:22:31 +02:00
librustc_msan
librustc_passes Enforce stability of const fn in promoteds 2018-05-24 17:22:31 +02:00
librustc_platform_intrinsics
librustc_plugin
librustc_privacy rustc: move TypeParamDef's fields into GenericParamDefKind::Type. 2018-05-21 12:13:19 +03:00
librustc_resolve Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
librustc_save_analysis rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded constants". 2018-05-19 20:34:42 +03:00
librustc_target Auto merge of #50930 - toidiu:ak-ordOutlivesPredicate, r=nikomatsakis 2018-05-24 14:30:58 +00:00
librustc_traits pacify the mercilous tidy 2018-05-24 12:01:28 -04:00
librustc_tsan
librustc_typeck Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
librustdoc Rollup merge of #51011 - QuietMisdreavus:duplicitous-macros, r=ollie27 2018-05-24 17:34:55 +08:00
libserialize
libstd
libstd_unicode
libsyntax Auto merge of #50930 - toidiu:ak-ordOutlivesPredicate, r=nikomatsakis 2018-05-24 14:30:58 +00:00
libsyntax_ext Auto merge of #50971 - alexcrichton:no-stringify, r=petrochenkov 2018-05-24 07:14:21 +00:00
libsyntax_pos
libterm
libtest
libunwind
llvm@9ad4b7e8d7 Update LLVM to pull in another wasm fix 2018-05-22 07:24:47 -07:00
llvm-emscripten@2717444753
rtstartup
rustc
rustllvm Rollup merge of #50827 - nox:llvmup, r=eddyb 2018-05-20 04:16:01 +08:00
stdsimd@a19ca1cd91
test Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
tools extend the crate whitelist to include rustc-hash, chalk 2018-05-24 12:01:27 -04:00
Cargo.lock get rustc_hash from external crate 2018-05-24 12:01:27 -04:00
Cargo.toml Update clippy 2018-05-19 13:18:02 +02:00
README.md
stage0.txt

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc guide.

Their is also useful content in the following READMEs, which are gradually being moved over to the guide: