Skip to content

Commit

Permalink
Unrolled build for rust-lang#131379
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#131379 - ehuss:fix-utf8-bom, r=jieyouxu

Fix utf8-bom test

The BOM was accidentally removed in rust-lang#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
rust-timer authored Oct 8, 2024
2 parents b8495e5 + 89b0f8a commit fe6e4bc
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 fe6e4bc

Please sign in to comment.