blob: 3357ccf2460d819a21344a491b253e55efa25d44 (
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; }
|