rust/src/libcollections
Manish Goregaokar 3b30b74692 Rollup merge of #22943 - ipetkov:lint-recursion, r=alexcrichton
* The lint visitor's visit_ty method did not recurse, and had a
  reference to the now closed #10894
* The newly enabled recursion has only affected the `deprectated` lint
  which now detects uses of deprecated items in trait impls and
  function return types
* Renamed some references to `CowString` and `CowVec` to `Cow<str>` and
  `Cow<[T]>`, respectively, which appear outside of the crate which
  defines them
* Replaced a few instances of `InvariantType<T>` with
  `PhantomData<Cell<T>>`
* Disabled the `deprecated` lint in several places that
  reference/implement traits on deprecated items which will get cleaned
  up in the future
* Unfortunately, this means that if a library declares
  `#![deny(deprecated)]` and marks anything as deprecated, it will have
  to disable the lint for any uses of said item, e.g. any impl the now
  deprecated item

For any library that denies deprecated items but has deprecated items
of its own, this is a [breaking-change]

I had originally intended for the lint to ignore uses of deprecated items that are declared in the same crate, but this goes against some previous test cases that expect the lint to capture *all* uses of deprecated items, so I maintained the previous approach to avoid changing the expected behavior of the lint.

Tested locally on OS X, so hopefully there aren't any deprecated item uses behind a `cfg` that I may have missed.
2015-03-03 17:01:15 +05:30
..
btree Send/Sync audit for libcollections 2015-02-26 15:43:40 +08:00
bench.rs Test fixes and rebase conflicts 2015-02-11 15:05:39 -08:00
binary_heap.rs Use arrays instead of vectors in tests 2015-02-24 21:15:45 +03:00
bit.rs core: Audit num module for int/uint 2015-03-02 16:12:46 -08:00
borrow.rs Change int to i32 in Cow example. 2015-02-22 20:31:12 -05:00
enum_set.rs core: Audit num module for int/uint 2015-03-02 16:12:46 -08:00
fmt.rs Addresses rust-lang/rust#22646 2015-03-01 14:11:12 +02:00
lib.rs std: Stabilize some ptr functions 2015-02-24 14:22:33 -08:00
linked_list.rs Send/Sync audit for libcollections 2015-02-26 15:43:40 +08:00
macros.rs Use arrays instead of vectors in tests 2015-02-24 21:15:45 +03:00
slice.rs remove some compiler warnings 2015-02-26 07:21:26 +02:00
str.rs Enable recursion for visit_ty in lint visitor 2015-03-02 15:35:48 -08:00
string.rs Rollup merge of #22729 - alexcrichton:ptr-stabilization, r=aturon 2015-02-25 10:29:46 +05:30
vec_deque.rs Send/Sync audit for libcollections 2015-02-26 15:43:40 +08:00
vec_map.rs Rollup merge of #22157 - tbu-:pr_debug_collections, r=alexcrichton 2015-02-25 10:29:23 +05:30
vec.rs Enable recursion for visit_ty in lint visitor 2015-03-02 15:35:48 -08:00