Rollup merge of #125973 - Zalathar:pretty, r=lqd

Remove `tests/run-make-fulldeps/pretty-expanded`

This was an ancient regression test for #12685, caused by `-Zunpretty=expanded` crashing on certain code produced by `#[derive(RustcEncodable)]`.

Given that this test predates `//@ pretty-expanded` tests, and was tied to ancient implementation details of the pretty-printer and `#[derive(RustcEncodable)]` (which the test no longer even uses), I think we can safely delete it.

---

Spotted via #125948.
This commit is contained in:
Guillaume Gomez 2024-06-04 21:41:38 +02:00 committed by GitHub
commit f41c3e9a69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 29 deletions

View file

@ -1,4 +0,0 @@
include ../../run-make/tools.mk
all:
$(RUSTC) -o $(TMPDIR)/input.expanded.rs -Zunpretty=expanded input.rs

View file

@ -1,25 +0,0 @@
// #13544
#[derive(Debug)]
pub struct A;
#[derive(Debug)]
pub struct B(isize);
#[derive(Debug)]
pub struct C {
x: isize,
}
#[derive(Debug)]
pub enum D {}
#[derive(Debug)]
pub enum E {
y,
}
#[derive(Debug)]
pub enum F {
z(isize),
}