]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18173.rs
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.git] / src / test / ui / issues / issue-18173.rs
1 // run-pass
2 trait Foo {
3     type T;
4 }
5
6 // should be able to use a trait with an associated type without specifying it as an argument
7 trait Bar<F: Foo> {
8     fn bar(foo: &F);
9 }
10
11 pub fn main() {
12 }