]>
Commit | Line | Data |
---|---|---|
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 | 10 | extern crate uta; |
223e47cc | 11 | |
1a4d82fc | 12 | pub fn foo() { assert_eq!(uta::foo::<()>(0), 3); } |