Improve message when active feature indexing panics
This commit is contained in:
parent
3325671036
commit
2add77dffb
|
@ -61,7 +61,7 @@ macro_rules! declare_features {
|
|||
match feature {
|
||||
$( sym::$feature => &self.$feature, )*
|
||||
|
||||
_ => panic!("{} was not defined in `declare_features`", feature),
|
||||
_ => panic!("`{}` was not listed in `declare_features`", feature),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue