Skip to content

Conversation

@ophilli
Copy link
Contributor

@ophilli ophilli commented 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

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
@mdeloof mdeloof merged commit dc5d7fe into mdeloof:main Oct 25, 2025
2 checks passed
@ophilli ophilli deleted the uitest branch October 25, 2025 16:36
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