diff --git a/src/librustc_feature/active.rs b/src/librustc_feature/active.rs index 91a84f711f2..123188944b2 100644 --- a/src/librustc_feature/active.rs +++ b/src/librustc_feature/active.rs @@ -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), } } }