diff options
| author | bors <bors@rust-lang.org> | 2015-11-23 20:08:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-23 20:08:49 +0000 |
| commit | 040a77f772d7693598499a161f53ed230fb61c52 (patch) | |
| tree | 71f1f369c9175a3655dff16f98465da8f2bce375 /src/libcore/str/mod.rs | |
| parent | 8e9a97529d9fd112f338501e68e33bac1c41d1a4 (diff) | |
| parent | a613059e3fcfb751f7664f67a4a6c99faf436483 (diff) | |
| download | rust-040a77f772d7693598499a161f53ed230fb61c52.tar.gz rust-040a77f772d7693598499a161f53ed230fb61c52.zip | |
Auto merge of #29952 - petrochenkov:depr, r=brson
Part of https://github.com/rust-lang/rust/issues/29935 The deprecation lint is still called "deprecated", so people can continue using `#[allow(deprecated)]` and similar things.
Diffstat (limited to 'src/libcore/str/mod.rs')
| -rw-r--r-- | src/libcore/str/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index c620bec54a2..127c4287f32 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -962,7 +962,7 @@ impl<'a> DoubleEndedIterator for Lines<'a> { /// Created with the method `.lines_any()`. #[stable(feature = "rust1", since = "1.0.0")] -#[deprecated(since = "1.4.0", reason = "use lines()/Lines instead now")] +#[rustc_deprecated(since = "1.4.0", reason = "use lines()/Lines instead now")] #[derive(Clone)] #[allow(deprecated)] pub struct LinesAny<'a>(Lines<'a>); |
