rust/src/test/ui/issues/issue-5280.rs
2019-07-27 18:56:16 +03:00

19 lines
255 B
Rust

// run-pass
#![allow(dead_code)]
type FontTableTag = u32;
trait FontTableTagConversions {
fn tag_to_string(self);
}
impl FontTableTagConversions for FontTableTag {
fn tag_to_string(self) {
&self;
}
}
pub fn main() {
5.tag_to_string();
}