]> git.lizzy.rs Git - rust.git/commit
Auto merge of #42580 - tommyip:import-error, r=petrochenkov
authorbors <bors@rust-lang.org>
Sat, 10 Jun 2017 21:35:31 +0000 (21:35 +0000)
committerbors <bors@rust-lang.org>
Sat, 10 Jun 2017 21:35:31 +0000 (21:35 +0000)
commit4bf5c99afc75f411a4e064150781eefc749c10df
tree19279906f7615fac487662fb27f3f43832ff1084
parentb7613f82814e803bf75c074ae4e50a584fee3e70
parentb89db83e6c6dd8186875188de049057d9743ba8a
Auto merge of #42580 - tommyip:import-error, r=petrochenkov

Only emit one error for `use foo::self;`

Currently `use foo::self;` would emit both E0429 and E0432. This commit silence the latter one (assuming `foo` is a valid module).

Fixes #42559