diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-27 11:42:29 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-27 20:37:36 +0530 |
| commit | 5d4e01766bd0b3b171149d41effe5564caf0a38b (patch) | |
| tree | ed4f5374ed8114ef813c415f8bfb6ca6e33de3a9 /src/libcore | |
| parent | bd0d8e47e53f25bbd50418a0f117973c366c1b08 (diff) | |
| parent | 060661d2b4a323c83a1bf043234eae8a344ff6aa (diff) | |
| download | rust-5d4e01766bd0b3b171149d41effe5564caf0a38b.tar.gz rust-5d4e01766bd0b3b171149d41effe5564caf0a38b.zip | |
Rollup merge of #22803 - huonw:field-stability, r=alexcrichton
We were recording stability attributes applied to fields in the compiler, and even annotating it in the libs, but the compiler didn't actually do the checks to give errors/warnings in user crates. Details in the commit messages.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/str/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 7e51f8e8503..b354116993c 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -939,6 +939,7 @@ impl<'a, P: Pattern<'a>> Iterator for SplitStr<'a, P> { type Item = &'a str; #[inline] + #[allow(deprecated)] fn next(&mut self) -> Option<&'a str> { Iterator::next(&mut self.0) } |
