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
6 //! This is the upstream crate.
11 pub trait TraitA { fn val(&self) -> isize { 2 } }
12 pub trait TraitB { fn val(&self) -> isize { 3 } }
15 impl traits::TraitA for () {}
16 impl traits::TraitB for () {}
18 pub fn foo<T>(_: isize) -> isize {