Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b51a8ed
test(rustfmt): Verify frontmatter is preserved
epage Aug 8, 2025
e50fed7
add regression test for #145529
lolbinarycat Aug 17, 2025
15a8999
refactor rustdoc::invalid_html_tags tag parser
lolbinarycat Aug 17, 2025
d022089
rustdoc::invalid_html_tags(unclosed comment): fix off by one in span
lolbinarycat Aug 19, 2025
10fde9e
Implement some more checks for `ptr_guaranteed_cmp` in consteval:
zachs18 Jul 28, 2025
25afbbc
Remove arm::t32-specific function pointer test.
zachs18 Aug 24, 2025
5d41f7c
Fix some minor issues in comments
houpo-bob Aug 24, 2025
46a7d28
Handle unwinding fatal errors in codegen workers
bjorn3 Aug 24, 2025
00fe7d1
Move `NativeLibKind` from `rustc_session` to `rustc_hir`
JonathanBrouwer Jul 16, 2025
525c6a3
Directly raise fatal errors inside the codegen backends
bjorn3 Aug 24, 2025
9567812
compiletest: if a compiler fails outside a ui test, show its output
lolbinarycat Aug 24, 2025
78b8fdf
remove deprecated Error::description in impls
hkBst Aug 23, 2025
8533310
Port the `#[link]` attribute to the new parser
JonathanBrouwer Jul 16, 2025
ff053ba
Changes to the uitests
JonathanBrouwer Jul 16, 2025
a3229e4
Make `x test distcheck` more self-contained
Kobzol Aug 25, 2025
89f9cf3
Handle tarballs in `x test tidy`
Kobzol Aug 25, 2025
8fa5fc6
Do not forward CI configure arguments to `distcheck` builds
Kobzol Aug 25, 2025
2ea8621
Override `GITHUB_ACTIONS=0` for tidy tests
Kobzol Aug 25, 2025
d262463
Don't show warnings from xcrun with -Zverbose-internals
madsmtm Aug 25, 2025
cce9479
Wait for DPkg frontend lock when trying to remove packages
jieyouxu Aug 24, 2025
f43c6f9
Update books
rustbot Aug 25, 2025
45b47c0
Rollup merge of #143193 - JonathanBrouwer:link_rework, r=jdonszelmann
jhpratt Aug 25, 2025
640d074
Rollup merge of #144373 - hkBst:remove-deprecated-1, r=jhpratt
jhpratt Aug 25, 2025
1c21910
Rollup merge of #144885 - zachs18:ptr_guaranteed_cmp_more, r=RalfJung
jhpratt Aug 25, 2025
68eccf0
Rollup merge of #145535 - lolbinarycat:rustdoc-invalid_html_tags-svg-…
jhpratt Aug 25, 2025
996ec49
Rollup merge of #145766 - epage:rustfmt, r=calebcartwright
jhpratt Aug 25, 2025
b8fe5f5
Rollup merge of #145811 - houpo-bob:master, r=samueltardieu
jhpratt Aug 25, 2025
1cedceb
Rollup merge of #145814 - bjorn3:codegen_worker_fatal_error, r=petroc…
jhpratt Aug 25, 2025
0767150
Rollup merge of #145815 - jieyouxu:pr-check-timeout, r=marcoieni
jhpratt Aug 25, 2025
5b4a238
Rollup merge of #145821 - lolbinarycat:compiletest-error-show, r=club…
jhpratt Aug 25, 2025
afd7cae
Rollup merge of #145845 - Kobzol:fix-distcheck, r=jieyouxu
jhpratt Aug 25, 2025
a8872b5
Rollup merge of #145847 - madsmtm:no-xcrun-warnings, r=jieyouxu
jhpratt Aug 25, 2025
838586a
Rollup merge of #145856 - rustbot:docs-update, r=ehuss
jhpratt Aug 25, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test(rustfmt): Verify frontmatter is preserved
This is to prove that the frontmatter is preserved. The choices in tests is intended for showing the different parts of the proposed Style Guide for frontmatters.
  • Loading branch information
epage committed Aug 20, 2025
commit b51a8ed2439e21f2980160bdf6af043e42d55434
8 changes: 8 additions & 0 deletions src/tools/rustfmt/tests/source/frontmatter_compact.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env cargo
---identifier
[dependencies]
regex = "1"
---
#![feature(frontmatter)]

fn main() {}
13 changes: 13 additions & 0 deletions src/tools/rustfmt/tests/source/frontmatter_escaped.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env cargo
------------
package.description = """
Header
-----

Body
"""
------------

#![feature(frontmatter)]

fn main() {}
16 changes: 16 additions & 0 deletions src/tools/rustfmt/tests/source/frontmatter_spaced.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env cargo


--- identifier
[dependencies]
regex = "1"

---





#![feature(frontmatter)]

fn main() {}
8 changes: 8 additions & 0 deletions src/tools/rustfmt/tests/target/frontmatter_compact.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env cargo
---identifier
[dependencies]
regex = "1"
---
#![feature(frontmatter)]

fn main() {}
13 changes: 13 additions & 0 deletions src/tools/rustfmt/tests/target/frontmatter_escaped.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env cargo
------------
package.description = """
Header
-----

Body
"""
------------

#![feature(frontmatter)]

fn main() {}
16 changes: 16 additions & 0 deletions src/tools/rustfmt/tests/target/frontmatter_spaced.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env cargo


--- identifier
[dependencies]
regex = "1"

---





#![feature(frontmatter)]

fn main() {}
Loading