Skip to content

Commit 35c0bf3

Browse files
committed
Add a ton of ignore-lexer-test
1 parent c41a7df commit 35c0bf3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+82
-3
lines changed

src/grammar/check.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ check() {
2929
fi
3030
}
3131

32-
for file in $(find $1 -iname '*.rs' ! -path '*/test/compile-fail/*' ); do
32+
for file in $(find $1 -iname '*.rs' ! -path '*/test/compile-fail*'); do
3333
check $file $2 $3 $4 $5
3434
done

src/libcollections/hash/sip.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15883
1012

1113
/*!
1214
* Implementation of SipHash 2-4

src/libcore/num/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
//! Numeric traits and functions for generic mathematics
1214

src/libnative/io/tty_win32.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-lexer-test FIXME #15877
12+
1113
//! Windows specific console TTY implementation
1214
//!
1315
//! This module contains the implementation of a Windows specific console TTY.

src/librand/distributions/gamma.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
//! The Gamma and derived distributions.
1214

src/libregex/test/tests.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// ignore-tidy-linelength
12+
// ignore-lexer-test FIXME #15679
1213

1314
use regex::{Regex, NoExpand};
1415

src/libstd/collections/hashmap.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15883
1012

1113
//! Unordered containers, implemented as hash-tables (`HashSet` and `HashMap` types)
1214

src/libstd/io/buffered.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15883
1012

1113
//! Buffering wrappers for I/O traits
1214

src/libstd/io/fs.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
/*! Synchronous File I/O
1214

src/libstd/io/mem.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
//! Readers and Writers for in-memory buffers
1214

src/libstd/io/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15883
1012

1113
// FIXME: cover these topics:
1214
// path, reader, writer, stream, raii (close not needed),

src/libstd/num/strconv.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
#![allow(missing_doc)]
1214

src/libstd/path/windows.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15883
1012

1113
//! Windows file path handling
1214

src/libsyntax/ext/tt/macro_parser.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
//! This is an Earley-like parser, without support for in-grammar nonterminals,
1214
//! only by calling out to the main rust parser for named nonterminals (which it

src/test/bench/core-std.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-lexer-test FIXME #15679
1112
// Microbenchmarks for various functions in std and extra
1213

1314
#![feature(macro_rules)]

src/test/bench/msgsend-ring-mutex-arcs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// This also serves as a pipes test, because Arcs are implemented with pipes.
1717

1818
// no-pretty-expanded FIXME #15189
19+
// ignore-lexer-test FIXME #15679
1920

2021
extern crate time;
2122

src/test/bench/msgsend-ring-rw-arcs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// This also serves as a pipes test, because Arcs are implemented with pipes.
1717

1818
// no-pretty-expanded FIXME #15189
19+
// ignore-lexer-test FIXME #15679
1920

2021
extern crate time;
2122

src/test/bench/noise.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
// Multi-language Perlin noise benchmark.
1212
// See https://github.com/nsf/pnoise for timings and alternative implementations.
13+
// ignore-lexer-test FIXME #15679
1314

1415
use std::f32::consts::PI;
1516
use std::rand::{Rng, StdRng};

src/test/pretty/block-comment-wchar.rs

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// ignore-tidy-cr
1515
// ignore-tidy-tab
1616
// pp-exact:block-comment-wchar.pp
17+
// ignore-lexer-test FIXME #15679
1718
fn f() {
1819
fn nested() {
1920
/*

src/test/run-pass/byte-literals.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15883
1012

1113

1214
static FOO: u8 = b'\xF0';

src/test/run-pass/default-method-supertrait-vtable.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113

1214
// Tests that we can call a function bounded over a supertrait from

src/test/run-pass/ifmt.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// no-pretty-expanded unnecessary unsafe block generated
12+
// ignore-lexer-test FIXME #15679
1213

1314
#![feature(macro_rules, managed_boxes)]
1415
#![deny(warnings)]

src/test/run-pass/issue-12582.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113
pub fn main() {
1214
let x = 1i;

src/test/run-pass/issue-13027.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113
// Tests that match expression handles overlapped literal and range
1214
// properly in the presence of guard function.

src/test/run-pass/issue-2185.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// ignore-test
12+
// ignore-lexer-test FIXME #15881
1213

1314
// notes on this test case:
1415
// On Thu, Apr 18, 2013-2014 at 6:30 PM, John Clements <clements@brinckerhoff.org> wrote:

src/test/run-pass/issue-2718.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
99
// option. This file may not be copied, modified, or distributed
1010
// except according to those terms.
11+
//
12+
// ignore-lexer-test FIXME #15883
1113

1214
#![feature(unsafe_destructor)]
1315

src/test/run-pass/issue-3683.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113

1214
trait Foo {

src/test/run-pass/issue-4759-1.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113
trait U { fn f(self); }
1214
impl U for int { fn f(self) {} }

src/test/run-pass/issue-5280.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113
type FontTableTag = u32;
1214

src/test/run-pass/issue-5321-immediates-with-bare-self.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113
trait Fooable {
1214
fn yes(self);

src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// this directory should enforce it.
1717

1818
// ignore-pretty
19+
// ignore-lexer-test FIXME #15882
1920

2021
/// Doc comment that ends in CRLF
2122
pub fn foo() {}

src/test/run-pass/lint-non-camel-case-types-non-uppercase-statics-unicode.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113

1214
#![forbid(non_camel_case_types)]

src/test/run-pass/match-range.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113
pub fn main() {
1214
match 5u {

src/test/run-pass/multibyte.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
// Test that multibyte characters don't crash the compiler
1214
pub fn main() {

src/test/run-pass/raw-str.rs

34 Bytes
Binary file not shown.

src/test/run-pass/shebang.rs

+2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010
// except according to those terms.
1111

1212
// ignore-pretty: `expand` addes some preludes before shebang
13+
//
14+
// ignore-lexer-test FIXME #15878
1315

1416
pub fn main() { println!("Hello World"); }

src/test/run-pass/struct-return.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15883
1012

1113
pub struct Quad { a: u64, b: u64, c: u64, d: u64 }
1214
pub struct Floats { a: f64, b: u8, c: f64 }

src/test/run-pass/trait-to-str.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10-
10+
//
11+
// ignore-lexer-test FIXME #15883
1112

1213

1314
trait to_str {

src/test/run-pass/trait-with-bounds-default.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113
pub trait Clone2 {
1214
/// Returns a copy of the value. The contents of owned pointers

src/test/run-pass/traits-default-method-self.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113

1214
trait Cat {

src/test/run-pass/traits-default-method-trivial.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15877
1012

1113

1214
trait Cat {

src/test/run-pass/unsized.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15879
1012

1113
// Test syntax checks for `Sized?` syntax.
1214

src/test/run-pass/unsized2.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15879
1012
#![feature(struct_variant)]
1113

1214

src/test/run-pass/utf8-bom.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
// This file has utf-8 BOM, it should be compiled normally without error.
1214

src/test/run-pass/utf8.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10-
10+
//
11+
// ignore-lexer-test FIXME #15679
1112
// no-pretty-expanded FIXME #15189
1213

1314
pub fn main() {

src/test/run-pass/utf8_chars.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// ignore-lexer-test FIXME #15679
1012

1113
use std::str;
1214

0 commit comments

Comments
 (0)