Address review comments

This commit is contained in:
Vadim Petrochenkov 2019-04-14 12:37:22 +03:00
parent 3c3a140294
commit dbc7042bfe
2 changed files with 13 additions and 8 deletions

View file

@ -4,6 +4,9 @@
extern crate variants;
const S: u8 = 0;
// OK, `Struct` in value namespace is crate-private, so it's filtered away
// and there's no conflict with the previously defined `const S`.
use variants::NonExhaustiveVariants::Struct as S;
fn main() {}