add magic comment for ui test, remove newline
This commit is contained in:
parent
537f2a6e1e
commit
f18446e78d
@ -3212,7 +3212,6 @@ impl<'a> Resolver<'a> {
|
||||
let name = path[path.len() - 1].node.name;
|
||||
// Make sure error reporting is deterministic.
|
||||
names.sort_by_key(|name| name.as_str());
|
||||
|
||||
match find_best_match_for_name(names.iter(), &name.as_str(), None) {
|
||||
Some(found) if found != name => Some(found),
|
||||
_ => None,
|
||||
|
@ -17,4 +17,5 @@ struct TyInt {}
|
||||
|
||||
fn main() {
|
||||
TyUInt {};
|
||||
//~^ ERROR cannot find struct, variant or union type `TyUInt` in this scope
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user