rust/src/test/auxiliary/issue_2316_a.rs
Tim Chevalier 164039e867 Don't re-export a glob-imported ID when the same ID is defined within
a module

See the test case I added (issue-2316-c) for a concrete example.
issue-2316 also contains the originally reported test case. resolve
was using bitwise or instead of logical or when checking exports,
resulting in excessively eager evaluation. A one-line fix that took
six hours to isolate ;-)
2012-05-01 08:43:17 -07:00

4 lines
44 B
Rust

enum cat {
tabby, calico, tortoiseshell
}