diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-02-25 22:34:21 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2015-02-26 16:26:34 +1100 |
| commit | 19cb8f32d894719ece5b2308dabab45be1b94fcf (patch) | |
| tree | 3d564077787097f9d89543f6513147f067be0d45 /src/libstd | |
| parent | 4db0b32467535d718d6474de7ae8d1007d900818 (diff) | |
| download | rust-19cb8f32d894719ece5b2308dabab45be1b94fcf.tar.gz rust-19cb8f32d894719ece5b2308dabab45be1b94fcf.zip | |
Check stability of struct fields.
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.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/old_io/mem.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/old_io/mem.rs b/src/libstd/old_io/mem.rs index c08a2c1f477..e6a8b90ea33 100644 --- a/src/libstd/old_io/mem.rs +++ b/src/libstd/old_io/mem.rs @@ -102,6 +102,7 @@ impl MemWriter { impl Writer for MemWriter { #[inline] + #[allow(deprecated)] fn write_all(&mut self, buf: &[u8]) -> IoResult<()> { self.buf.push_all(buf); Ok(()) |
