Skip to content

Commit 61d40cf

Browse files
tronicalogoffart
andcommitted
Apply suggestion from @ogoffart
Co-authored-by: Olivier Goffart <[email protected]>
1 parent 58c4617 commit 61d40cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/compiler/llr/lower_expression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ fn compile_path(
992992
.native_class
993993
.builtin_struct
994994
.clone()
995-
.expect("Unknown path element encountered"),
995+
.expect("path elements should have a native_type"),
996996
),
997997
rust_attributes: None,
998998
});

0 commit comments

Comments
 (0)