diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2024-10-08 13:19:45 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-08 13:19:45 +1100 |
| commit | 2da0d40389c71cf4ecd91728b35855c4e07bf0ab (patch) | |
| tree | e729f299fb9d9b0ef4ac024dc507c1fee3d9a6c2 | |
| parent | ad96cf36859c5107ddfed381b32d3626a765923b (diff) | |
| parent | 89b0f8a6891ce111ab256269dba1cfa09695b818 (diff) | |
| download | rust-2da0d40389c71cf4ecd91728b35855c4e07bf0ab.tar.gz rust-2da0d40389c71cf4ecd91728b35855c4e07bf0ab.zip | |
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.
| -rw-r--r-- | tests/ui/utf8-bom.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/utf8-bom.rs b/tests/ui/utf8-bom.rs index e2e4ccd63c1..5b9e27fb7b9 100644 --- a/tests/ui/utf8-bom.rs +++ b/tests/ui/utf8-bom.rs @@ -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() {} |
