Skip to content

Commit

Permalink
Rollup merge of #131379 - ehuss:fix-utf8-bom, r=jieyouxu
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Zalathar authored Oct 8, 2024
2 parents ad96cf3 + 89b0f8a commit 2da0d40
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/ui/utf8-bom.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// This file has utf-8 BOM, it should be compiled normally without error.
//@ run-pass
//

// This file has utf-8 BOM, it should be compiled normally without error.

pub fn main() {}

0 comments on commit 2da0d40

Please sign in to comment.