Test fixes from the rollup

This commit is contained in:
Alex Crichton 2014-03-18 14:03:45 -07:00
parent 113596655a
commit 2a5e04c2a4

View File

@ -475,8 +475,10 @@ pub trait Index<Index,Result> {
fn index(&self, index: &Index) -> Result;
}
/// Dummy dox
#[cfg(stage0)]
pub trait Deref<Result> {
/// dummy dox
fn deref<'a>(&'a self) -> &'a Result;
}
@ -514,8 +516,10 @@ pub trait Deref<Result> {
fn deref<'a>(&'a self) -> &'a Result;
}
/// dummy dox
#[cfg(stage0)]
pub trait DerefMut<Result>: Deref<Result> {
/// dummy dox
fn deref_mut<'a>(&'a mut self) -> &'a mut Result;
}