]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-1920-3.rs
1 //! Test that when a crate is linked multiple times that the shortest absolute path name is used
3 // aux-build:issue-1920.rs
6 pub extern crate issue_1920
;
9 extern crate issue_1920
;
11 fn assert_clone
<T
>() where T
: Clone { }
14 assert_clone
::<foo
::issue_1920
::S
>();
15 //~^ ERROR `S: Clone` is not satisfied