Skip to content

Commit 2da0d40

Browse files
authored
Rollup merge of #131379 - ehuss:fix-utf8-bom, r=jieyouxu
Fix utf8-bom test The BOM was accidentally removed in #57108 I had to move the run-pass line down, because compiletest doesn't seem to know about BOMs, so it does not parse the header if it is the first line.
2 parents ad96cf3 + 89b0f8a commit 2da0d40

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/ui/utf8-bom.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1+
// This file has utf-8 BOM, it should be compiled normally without error.
12
//@ run-pass
2-
//
3-
4-
// This file has utf-8 BOM, it should be compiled normally without error.
53

64
pub fn main() {}

0 commit comments

Comments
 (0)