-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Pretty printing give proper error message without panic #100787
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
25e474f
to
3e41580
Compare
Could you add a test for this (to |
Done! |
This comment has been minimized.
This comment has been minimized.
oops, need to resolve rebase issue. |
0fddfea
to
334d081
Compare
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
This comment has been minimized.
This comment has been minimized.
334d081
to
2237c6c
Compare
@bors r+ |
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
2237c6c
to
6269794
Compare
I added a |
@bors r+ |
📌 Commit 6269794499c06845c0c570c4eba28c5acd35c4df has been approved by It is now in the queue for this repository. |
@bors r- Although it's better to remove this message from the test output entirely, using |
Agree, just know we have |
6269794
to
77eb1ae
Compare
@bors r+ |
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#100787 (Pretty printing give proper error message without panic) - rust-lang#100838 (Suggest moving redundant generic args of an assoc fn to its trait) - rust-lang#100844 (migrate rustc_query_system to use SessionDiagnostic) - rust-lang#101140 (Update Clippy) - rust-lang#101161 (Fix uintended diagnostic caused by `drain(..)`) - rust-lang#101165 (Use more `into_iter` rather than `drain(..)`) - rust-lang#101229 (Link “? operator” to relevant chapter in The Book) - rust-lang#101230 (lint: avoid linting diag functions with diag lints) - rust-lang#101236 (Avoid needless buffer zeroing in `std::sys::windows::fs`) - rust-lang#101240 (Fix a typo on `wasm64-unknown-unknown` doc) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#100787 (Pretty printing give proper error message without panic) - rust-lang#100838 (Suggest moving redundant generic args of an assoc fn to its trait) - rust-lang#100844 (migrate rustc_query_system to use SessionDiagnostic) - rust-lang#101140 (Update Clippy) - rust-lang#101161 (Fix uintended diagnostic caused by `drain(..)`) - rust-lang#101165 (Use more `into_iter` rather than `drain(..)`) - rust-lang#101229 (Link “? operator” to relevant chapter in The Book) - rust-lang#101230 (lint: avoid linting diag functions with diag lints) - rust-lang#101236 (Avoid needless buffer zeroing in `std::sys::windows::fs`) - rust-lang#101240 (Fix a typo on `wasm64-unknown-unknown` doc) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Hmm, the Click to expand output of me running `./x.py test src/test/ui --test-args avoid-crash`
I noticed that this created a file called
My theory is that this passed the Windows CI build because there's perhaps a Let me know if you'd like any more information, or if you'd like me to run more tests to figure out what's going on! ❤️ (For anyone else running into this, a workaround to make the test pass again is to |
@khyperia Thanks for pointing this out. I thought |
Unfortunately I'm not sure what the right fix is! |
Fixes #100770