Rust: Make path resolution tests work with Rust 1.96 and fix m::{self} when m is a trait
#40028
check-change-note.yml
on: pull_request
check-change-note
4s