rust/src/librustc_data_structures
Mazdak Farrokhzad 485a084b45
Rollup merge of #61545 - flip1995:internal_lints, r=oli-obk
Implement another internal lints

cc #49509

This adds ~~two~~ one internal lint~~s~~:
1. LINT_PASS_IMPL_WITHOUT_MACRO: Make sure, that the `{declare,impl}_lint_pass` macro is used to implement lint passes. cc #59669
2. ~~USAGE_OF_TYCTXT_AND_SPAN_ARGS: item 2 on the list in #49509~~

~~With 2. I wasn't sure, if this lint should be applied everywhere. That means a careful review of 0955835 would be great. Also 73fb9b4 allows this lint on some functions. Should I also apply this lint there?~~

TODO (not directly relevant for review):
- [ ] https://github.com/rust-lang/rust/pull/59316#discussion_r280186517 (not sure yet, if this works or how to query for `rustc_private`, since it's not in [`Features`](https://doc.rust-lang.org/nightly/nightly-rustc/syntax/feature_gate/struct.Features.html) 🤔 cc @eddyb)
- [x] https://github.com/rust-lang/rust/pull/61735#discussion_r292389870
- [x] Check explicitly for the `{declare,impl}_lint_pass!` macros

r? @oli-obk
2019-07-05 20:26:51 +02:00
..
binary_search_util fix silly bugs in binary_search_util test 2019-07-02 12:25:22 -04:00
graph Add missing lifetime specifier 2019-07-03 10:01:02 +02:00
obligation_forest Fix clippy::redundant_closure 2019-06-26 14:11:58 +02:00
owning_ref Separate librustc_data_structures module 2019-06-16 14:17:01 +03:00
snapshot_map librustc_data_structures => 2018 2019-02-09 01:36:22 +09:00
sorted_map Separate librustc_data_structures module 2019-06-16 14:17:01 +03:00
base_n.rs rustc: doc comments 2019-02-10 23:42:32 +00:00
bit_set.rs Remove needless lifetimes 2019-07-03 10:01:02 +02:00
box_region.rs Make the rustc driver and interface demand driven 2019-03-10 04:49:45 +01:00
Cargo.toml rustc: use indexmap instead of a plain vector for upvars. 2019-06-01 19:17:22 +03:00
const_cstr.rs Remove licenses 2018-12-25 21:08:33 -07:00
fingerprint.rs Remove needless lifetimes 2019-07-03 10:01:02 +02:00
flock.rs Remove bitrig support from rust 2019-05-13 11:09:06 +02:00
fx.rs rustc: use indexmap instead of a plain vector for upvars. 2019-06-01 19:17:22 +03:00
indexed_vec.rs introduce a VecGraph abstraction that cheaply stores graphs 2019-07-02 12:15:20 -04:00
interner.rs Remove licenses 2018-12-25 21:08:33 -07:00
jobserver.rs Clean up jobserver integration 2019-04-09 07:44:10 +02:00
lib.rs Rollup merge of #61545 - flip1995:internal_lints, r=oli-obk 2019-07-05 20:26:51 +02:00
macros.rs Switch master to 1.38 2019-07-04 11:26:57 -04:00
ptr_key.rs librustc_data_structures => 2018 2019-02-09 01:36:22 +09:00
sip128.rs Fix clippy::precedence 2019-06-26 14:14:27 +02:00
small_c_str.rs Remove licenses 2018-12-25 21:08:33 -07:00
sorted_map.rs Separate librustc_data_structures module 2019-06-16 14:17:01 +03:00
stable_hasher.rs Fix clippy::cast_losless 2019-06-26 14:11:58 +02:00
svh.rs rustc: doc comments 2019-02-10 23:42:32 +00:00
sync.rs Add some comments 2019-03-06 04:47:08 +01:00
thin_vec.rs Allow attributes in formal function parameters 2019-06-09 07:58:40 -03:00
tiny_list.rs librustc_data_structures => 2018 2019-02-09 01:36:22 +09:00
transitive_relation.rs Check for local types in writeback with debug assertions 2019-06-26 13:04:06 +02:00
vec_linked_list.rs Fix clippy::redundant_field_names 2019-06-26 13:59:58 +02:00
work_queue.rs rustc: doc comments 2019-02-10 23:42:32 +00:00