Skip to content

Commit 647df89

Browse files
committed
fix: add #[non_exhaustive] to SoureCode enum
1 parent 6751263 commit 647df89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

symbolic-debuginfo/src/base.rs

+1
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ impl fmt::Debug for Function<'_> {
671671
pub type DynIterator<'a, T> = Box<dyn Iterator<Item = T> + 'a>;
672672

673673
/// Represents a source file referenced by a debug information object file.
674+
#[non_exhaustive]
674675
#[derive(Debug, Clone)]
675676
pub enum SourceCode<'a> {
676677
/// Verbatim source code/file contents.

0 commit comments

Comments
 (0)