Skip to content

Commit 79693fa

Browse files
committed
Fix typo in error message
1 parent 9f95538 commit 79693fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/comp/back/link.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ fn link_intrinsics(session::session sess, ModuleRef llmod) {
3535
auto membuf =
3636
llvm::LLVMRustCreateMemoryBufferWithContentsOfFile(str::buf(path));
3737
if ((membuf as uint) == 0u) {
38-
llvm_err(sess, "installation problem: couldn't open intrinstics.bc");
38+
llvm_err(sess, "installation problem: couldn't open " + path);
3939
fail;
4040
}
4141

4242
auto llintrinsicsmod = llvm::LLVMRustParseBitcode(membuf);
4343
llvm::LLVMDisposeMemoryBuffer(membuf);
4444

4545
if ((llintrinsicsmod as uint) == 0u) {
46-
llvm_err(sess, "installation problem: couldn't parse intrinstics.bc");
46+
llvm_err(sess, "installation problem: couldn't parse intrinsics.bc");
4747
fail;
4848
}
4949

0 commit comments

Comments
 (0)