diff options
author | sterni <sternenseemann@systemli.org> | 2023-11-24T15·53+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2023-11-24T23·36+0000 |
commit | 875bb26fc314b22f4a6fa2e457cf7ec5a44e7954 (patch) | |
tree | 784496bb3c5b21adec78a0fe2b0f7a6596df401d /tvix/castore/src/import.rs | |
parent | c5961e77749d1d002a5e747468b87c34a32821f3 (diff) |
fix(tvix/castore): correctly flag unreachable code r/7053
Change-Id: Id09afa4b77c3c70fb5695f253f6df4aa88b61e19 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10113 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore/src/import.rs')
-rw-r--r-- | tvix/castore/src/import.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs index f00842bcd709..675dd0ec8be8 100644 --- a/tvix/castore/src/import.rs +++ b/tvix/castore/src/import.rs @@ -209,5 +209,5 @@ pub async fn ingest_path<P: AsRef<Path> + Debug>( } } // unreachable, we already bailed out before if root doesn't exist. - panic!("tvix bug") + unreachable!() } |