]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-5280.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / issue-5280.rs
index 72bf0cee05d21084b1b9a417b3880eb367d92809..bd892465054693419c406a0e2d936d12d7a108b8 100644 (file)
@@ -7,21 +7,21 @@
 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
-
-// xfail-test
+//
+// ignore-lexer-test FIXME #15877
 
 type FontTableTag = u32;
 
 trait FontTableTagConversions {
-  fn tag_to_str(self);
+  fn tag_to_string(self);
 }
 
 impl FontTableTagConversions for FontTableTag {
-  fn tag_to_str(self) {
+  fn tag_to_string(self) {
     &self;
   }
 }
 
-fn main() {
-    5.tag_to_str();
+pub fn main() {
+    5.tag_to_string();
 }