diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-12-10 22:20:44 -0800 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-12-13 10:39:14 -0800 |
| commit | 2add77dffbf746ed95a5420f23bbaff6b3f99be5 (patch) | |
| tree | 9b6eeab5bc8e3a21dde87993d4bc07febf9a1091 | |
| parent | 332567103670935eefa347a87fb87c9153f814b9 (diff) | |
| download | rust-2add77dffbf746ed95a5420f23bbaff6b3f99be5.tar.gz rust-2add77dffbf746ed95a5420f23bbaff6b3f99be5.zip | |
Improve message when active feature indexing panics
| -rw-r--r-- | src/librustc_feature/active.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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), } } } |
