mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-25 23:14:12 +00:00
rustc: fix test failures after rebase.
This commit is contained in:
parent
a30ee0dee1
commit
5ebffd46d5
@ -1239,10 +1239,10 @@ impl Resolver {
|
||||
if *old_sp != span {
|
||||
self.session.span_err(span,
|
||||
fmt!("duplicate definition of method `%s`",
|
||||
*self.session.str_of(ident)));
|
||||
self.session.str_of(ident)));
|
||||
self.session.span_note(*old_sp,
|
||||
fmt!("first definition of method `%s` here",
|
||||
*self.session.str_of(ident)));
|
||||
self.session.str_of(ident)));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1376,10 +1376,10 @@ impl Resolver {
|
||||
if *old_sp != ty_m.span {
|
||||
self.session.span_err(ty_m.span,
|
||||
fmt!("duplicate definition of method `%s`",
|
||||
*self.session.str_of(ident)));
|
||||
self.session.str_of(ident)));
|
||||
self.session.span_note(*old_sp,
|
||||
fmt!("first definition of method `%s` here",
|
||||
*self.session.str_of(ident)));
|
||||
self.session.str_of(ident)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user