mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
19 lines
265 B
Rust
19 lines
265 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) {
|
|
let _ = &self;
|
|
}
|
|
}
|
|
|
|
pub fn main() {
|
|
5.tag_to_string();
|
|
}
|