]> git.proxmox.com Git - rustc.git/blame - src/test/ui/svh/auxiliary/svh-utb.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / svh / auxiliary / svh-utb.rs
CommitLineData
5869c6ff 1//! "svh-uta-trait.rs" is checking that we detect a
1a4d82fc
JJ
2//! change from `use foo::TraitB` to use `foo::TraitB` in the hash
3//! (SVH) computation (#14132), since that will affect method
4//! resolution.
5//!
6//! This is the downstream crate.
223e47cc 7
1a4d82fc 8#![crate_name = "utb"]
970d7e83 9
1a4d82fc 10extern crate uta;
223e47cc 11
1a4d82fc 12pub fn foo() { assert_eq!(uta::foo::<()>(0), 3); }