Improve message when active feature indexing panics

This commit is contained in:
Dylan MacKenzie 2019-12-10 22:20:44 -08:00
parent 3325671036
commit 2add77dffb
1 changed files with 1 additions and 1 deletions

View File

@ -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),
}
}
}