1 // aux-build:issue-20646.rs
2 // ignore-cross-compile
4 #![feature(associated_types)]
6 extern crate issue_20646;
8 // @has issue_20646/trait.Trait.html \
9 // '//*[@id="associatedtype.Output"]' \
15 // @has issue_20646/fn.fun.html \
16 // '//*[@class="rust fn"]' 'where T: Trait<Output = i32>'
17 pub fn fun<T>(_: T) where T: Trait<Output=i32> {}
20 // @has issue_20646/reexport/trait.Trait.html \
21 // '//*[@id="associatedtype.Output"]' \
23 // @has issue_20646/reexport/fn.fun.html \
24 // '//*[@class="rust fn"]' 'where T: Trait<Output = i32>'
25 pub use issue_20646::{Trait, fun};