]> git.lizzy.rs Git - rust.git/blob - src/test/ui/svh/auxiliary/svh-utb.rs
Auto merge of #57119 - jethrogb:jb/sgx-os-mod2, r=joshtriplett
[rust.git] / src / test / ui / svh / auxiliary / svh-utb.rs
1 //! "compile-fail/svh-uta-trait.rs" is checking that we detect a
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.
7
8 #![crate_name = "utb"]
9
10 extern crate uta;
11
12 pub fn foo() { assert_eq!(uta::foo::<()>(0), 3); }