blob: e4c8bcec2d3b300014f29921a20c2ebd897b281d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//@ check-pass
#![deny(warnings)]
//! [usize::Item]
pub trait Foo { type Item; }
pub trait Bar { type Item; }
impl Foo for usize { type Item = u32; }
impl Bar for usize { type Item = i32; }
|