1
Fork 0

Rollup merge of #139106 - ShE3py:pp-highlighting, r=compiler-errors

Mark .pp files as Rust

Pretty-printing tests generate `.pp` files, but GitHub classify and highlight them as Pascal:
[https://github.com/search?q=repo:rust-lang/rust+path:*.pp&type=code](https://github.com/search?q=repo%3Arust-lang%2Frust+path%3A*.pp&type=code)

``@rustbot`` label +A-meta +A-testsuite
This commit is contained in:
Matthias Krüger 2025-03-29 21:08:14 +01:00 committed by GitHub
commit ed1f776e5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

1
.gitattributes vendored
View file

@ -5,6 +5,7 @@
*.h rust *.h rust
*.rs rust diff=rust *.rs rust diff=rust
*.fixed linguist-language=Rust *.fixed linguist-language=Rust
*.pp linguist-language=Rust
*.mir linguist-language=Rust *.mir linguist-language=Rust
src/etc/installer/gfx/* binary src/etc/installer/gfx/* binary
src/vendor/** -text src/vendor/** -text