2019-11-04 00:00:00 +00:00
|
|
|
//@ check-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2015-01-01 11:16:44 -05:00
|
|
|
trait PoolManager {
|
|
|
|
|
type C;
|
2015-02-12 10:29:52 -05:00
|
|
|
fn dummy(&self) { }
|
2015-01-01 11:16:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struct InnerPool<M> {
|
|
|
|
|
manager: M,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl<M> InnerPool<M> where M: PoolManager {}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|