resolve: make error message strings more consistent
The "first definition of ..." error string reported by add_child() looks different from similar messages reported by other functions. Fix this. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
This commit is contained in:
parent
9f80591d84
commit
f982f42f3c
@ -1053,7 +1053,7 @@ impl Resolver {
|
||||
let r = child.span_for_namespace(ns);
|
||||
for r.iter().advance |sp| {
|
||||
self.session.span_note(*sp,
|
||||
fmt!("first definition of %s %s here:",
|
||||
fmt!("first definition of %s `%s` here",
|
||||
namespace_error_to_str(duplicate_type),
|
||||
self.session.str_of(name)));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user