Review comments

This commit is contained in:
Alex Crichton
2018-08-30 16:29:51 -07:00
parent 14cb2dd4cf
commit c9c776b0b4
3 changed files with 44 additions and 32 deletions

View File

@ -459,7 +459,7 @@ impl<'src> FirstPassRecord<'src> {
use weedle::interface::StringifierOrInheritOrStatic::*;
let is_static = match modifier {
Some(Stringifier(_)) => unimplemented!(), // filtered out earlier
Some(Stringifier(_)) => unreachable!(), // filtered out earlier
Some(Inherit(_)) => false,
Some(Static(_)) => true,
None => false,