From 5b7bfc88c637f692215cc79822559e08164b53b5 Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Sun, 8 Mar 2015 16:23:55 -0700 Subject: [PATCH 1/2] test: Test the lexer now that #15879 is closed --- src/test/run-pass/issue-4759-1.rs | 2 -- src/test/run-pass/unsized.rs | 2 -- src/test/run-pass/unsized2.rs | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/test/run-pass/issue-4759-1.rs b/src/test/run-pass/issue-4759-1.rs index ce2f488b90c7..ad8ee984217c 100644 --- a/src/test/run-pass/issue-4759-1.rs +++ b/src/test/run-pass/issue-4759-1.rs @@ -7,8 +7,6 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// -// ignore-lexer-test FIXME #15877 trait U { fn f(self); } impl U for int { fn f(self) {} } diff --git a/src/test/run-pass/unsized.rs b/src/test/run-pass/unsized.rs index ae175d27b0a4..1a479d05d509 100644 --- a/src/test/run-pass/unsized.rs +++ b/src/test/run-pass/unsized.rs @@ -7,8 +7,6 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// -// ignore-lexer-test FIXME #15879 // Test syntax checks for `?Sized` syntax. diff --git a/src/test/run-pass/unsized2.rs b/src/test/run-pass/unsized2.rs index 10b2f2fb7092..e0d37ff40de5 100644 --- a/src/test/run-pass/unsized2.rs +++ b/src/test/run-pass/unsized2.rs @@ -7,8 +7,6 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// -// ignore-lexer-test FIXME #15879 #![allow(unknown_features)] #![feature(box_syntax)] From 58a288d323a00647c12a78f88427ac892b87c5b5 Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Sun, 8 Mar 2015 16:25:01 -0700 Subject: [PATCH 2/2] test: Fix depcrecated alias for int --- src/test/run-pass/issue-4759-1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-pass/issue-4759-1.rs b/src/test/run-pass/issue-4759-1.rs index ad8ee984217c..a565460c42e2 100644 --- a/src/test/run-pass/issue-4759-1.rs +++ b/src/test/run-pass/issue-4759-1.rs @@ -9,5 +9,5 @@ // except according to those terms. trait U { fn f(self); } -impl U for int { fn f(self) {} } +impl U for isize { fn f(self) {} } pub fn main() { 4.f(); }