Public bug reported:

A new diagnostic format in Rust 1.93 causes autopkgtest failures for 
rust-ruma-common,
which expects exact matches in some of its tests.

This bug is blocking the rust-defaults migration.

In Rust 1.93, the way "the trait X is implemented for Y" diagnostic was 
implemented
changed to include a span pointing to the impl:

- err.highlighted_help(msg);
+ err.highlighted_span_help(self.tcx.def_span(def_id), msg);

Full upstream Rust 1.93 commit making this change:
https://github.com/rust-lang/rust/commit/eeadffd92660dae1f928a2b1fa4012a7cef1a849

Full rust-ruma-common failing autopkgtest log:
https://autopkgtest.ubuntu.com/results/autopkgtest-resolute/resolute/amd64/r/rust-ruma-common/20260324_184423_d27af@/log.gz

** Affects: rust-ruma-common (Ubuntu)
     Importance: Undecided
     Assignee: Max Gilmour (maxgmr)
         Status: In Progress


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2146382

Title:
  autopkgtests are incompatible with Rust 1.93+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-ruma-common/+bug/2146382/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to