Skip to content

Commit b64da48

Browse files
committed
Make NavigateError as non_exhaustive (Luau)
1 parent cddbcc5 commit b64da48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/luau/require.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub use fs::FsRequirer;
1616

1717
/// An error that can occur during navigation in the Luau `require-by-string` system.
1818
#[derive(Debug, Clone)]
19+
#[non_exhaustive]
1920
pub enum NavigateError {
2021
/// The path is ambiguous (more than one candidate matches).
2122
Ambiguous,

0 commit comments

Comments
 (0)