librustc: Forbid pub
or priv
before trait implementations
This commit is contained in:
parent
573a31dfa7
commit
07c3f5c0de
67 changed files with 304 additions and 288 deletions
|
@ -1192,7 +1192,7 @@ mod test {
|
|||
}
|
||||
}
|
||||
|
||||
pub impl Encoder for TestEncoder {
|
||||
impl Encoder for TestEncoder {
|
||||
fn emit_nil(&self) { self.add_to_log(CallToEmitNil) }
|
||||
|
||||
fn emit_uint(&self, +v: uint) {self.add_to_log(CallToEmitUint(v)); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue