1
Fork 0

Rollup merge of #131379 - ehuss:fix-utf8-bom, r=jieyouxu

Fix utf8-bom test

The BOM was accidentally removed in https://github.com/rust-lang/rust/pull/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.
This commit is contained in:
Stuart Cook 2024-10-08 13:19:45 +11:00 committed by GitHub
commit 2da0d40389
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,4 @@
// This file has utf-8 BOM, it should be compiled normally without error.
//@ run-pass //@ run-pass
//
// This file has utf-8 BOM, it should be compiled normally without error.
pub fn main() {} pub fn main() {}