diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-06-16 23:10:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-16 23:10:50 -0700 |
| commit | 6062bf7aca1927bc0e64854c54b466fffa73f07a (patch) | |
| tree | 28977e6f54b5ad5108879014133241135ebbe416 /src/liballoc | |
| parent | 881ea1ef0435c8c042ebf893346ade4534568738 (diff) | |
| parent | c6afde6c46d167c9c75389b887f1d2498aeef3e4 (diff) | |
| download | rust-6062bf7aca1927bc0e64854c54b466fffa73f07a.tar.gz rust-6062bf7aca1927bc0e64854c54b466fffa73f07a.zip | |
Rollup merge of #42705 - est31:master, r=alexcrichton
Introduce tidy lint to check for inconsistent tracking issues
This PR
* Refactors the collect_lib_features function to work in a
non-checking mode (no bad pointer needed, and list of
lang features).
* Introduces checking whether unstable/stable tags for a
given feature have inconsistent tracking issues, as in,
multiple tracking issues per feature.
* Fixes such inconsistencies throughout the codebase.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/rc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 1f3388ad2c2..21a56ff9899 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -428,7 +428,7 @@ impl Rc<str> { #[doc(hidden)] #[unstable(feature = "rustc_private", reason = "for internal use in rustc", - issue = "0")] + issue = "27812")] pub fn __from_str(value: &str) -> Rc<str> { unsafe { // Allocate enough space for `RcBox<str>`. @@ -453,7 +453,7 @@ impl<T> Rc<[T]> { #[doc(hidden)] #[unstable(feature = "rustc_private", reason = "for internal use in rustc", - issue = "0")] + issue = "27812")] pub fn __from_array(value: Box<[T]>) -> Rc<[T]> { unsafe { let ptr: *mut RcBox<[T]> = |
