Skip to content

Commit 2add77d

Browse files
Improve message when active feature indexing panics
1 parent 3325671 commit 2add77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_feature/active.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ macro_rules! declare_features {
6161
match feature {
6262
$( sym::$feature => &self.$feature, )*
6363

64-
_ => panic!("{} was not defined in `declare_features`", feature),
64+
_ => panic!("`{}` was not listed in `declare_features`", feature),
6565
}
6666
}
6767
}

0 commit comments

Comments
 (0)