Skip to content

Conversation

@dtolnay
Copy link
Owner

@dtolnay dtolnay commented Jul 30, 2025

@dtolnay dtolnay merged commit 83b7a7d into master Jul 30, 2025
20 checks passed
@dtolnay dtolnay deleted the rightalign branch July 30, 2025 05:12
ophilli added a commit to ophilli/statig that referenced this pull request Oct 25, 2025
Problem: rust-lang/rust@aa97672 right
aligned line numbers & this change was released in Rust 1.90. This
causes our trybuild driven ui-tests to fail because the line number
differs.

Solution: Fix the line numbering in the test's stderr file & bump our
min trybuild dependency to v1.0.107 because that is the first version
that recognizes right aligned line numbers.

Testing: Ran `cargo +1.90 test` and saw that it worked. Also tested
specifying `trybuild = "=1.0.n" and saw that n=108 was the lowest
working version.

Ref: rust-lang/rust#144609
Ref: dtolnay/trybuild#308
Ref: dtolnay/trybuild#315
ophilli added a commit to ophilli/statig that referenced this pull request Oct 25, 2025
Problem: rust-lang/rust@aa97672 right
aligned line numbers & this change was released in Rust 1.90. This
causes our trybuild driven ui-tests to fail because the line number
differs.

Solution: Fix the line numbering in the test's stderr file & bump our
min trybuild dependency to v1.0.108 because that is the first version
that recognizes right aligned line numbers.

Testing: Ran `cargo +1.90 test` and saw that it worked. Also tested
specifying `trybuild = "=1.0.n" and saw that n=108 was the lowest
working version.

Ref: rust-lang/rust#144609
Ref: dtolnay/trybuild#308
Ref: dtolnay/trybuild#315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants