Skip to content

Commit 9596fce

Browse files
de-vri-esm-ou-se
authored andcommitted
Mark panic::ExtraInfo as non-exhaustive.
Co-authored-by: Mara Bos <[email protected]>
1 parent d57b2da commit 9596fce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/panic/extra_info.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use crate::panic::assert_info::AssertInfo;
22

33
#[derive(Debug, Copy, Clone)]
4+
#[non_exhaustive]
45
pub enum ExtraInfo<'a> {
56
AssertInfo(&'a AssertInfo<'a>),
67
}

0 commit comments

Comments
 (0)