mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 12:54:00 +00:00
Update tests
This commit is contained in:
parent
4018873d4b
commit
e90f2e7e27
@ -41,41 +41,8 @@ fn arrays() {
|
||||
|
||||
fn arrays() {
|
||||
let x = [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 7, 8, 9, 0, 1, 2, 3, 4, 5,
|
||||
6, 7, 8, 9, 0,
|
||||
];
|
||||
|
||||
let y = [/* comment */ 1, 2 /* post comment */, 3];
|
||||
|
@ -171,41 +171,8 @@ fn issue184(source: &str) {
|
||||
|
||||
fn arrays() {
|
||||
let x = [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
0,
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 7, 8, 9, 0, 1, 2, 3, 4, 5,
|
||||
6, 7, 8, 9, 0,
|
||||
];
|
||||
|
||||
let y = [/* comment */ 1, 2 /* post comment */, 3];
|
||||
|
@ -2,50 +2,10 @@ const FILE_GENERIC_READ: DWORD =
|
||||
STANDARD_RIGHTS_READ | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA | SYNCHRONIZE;
|
||||
|
||||
static boolnames: &'static [&'static str] = &[
|
||||
"bw",
|
||||
"am",
|
||||
"xsb",
|
||||
"xhp",
|
||||
"xenl",
|
||||
"eo",
|
||||
"gn",
|
||||
"hc",
|
||||
"km",
|
||||
"hs",
|
||||
"in",
|
||||
"db",
|
||||
"da",
|
||||
"mir",
|
||||
"msgr",
|
||||
"os",
|
||||
"eslok",
|
||||
"xt",
|
||||
"hz",
|
||||
"ul",
|
||||
"xon",
|
||||
"nxon",
|
||||
"mc5i",
|
||||
"chts",
|
||||
"nrrmc",
|
||||
"npc",
|
||||
"ndscr",
|
||||
"ccc",
|
||||
"bce",
|
||||
"hls",
|
||||
"xhpa",
|
||||
"crxm",
|
||||
"daisy",
|
||||
"xvpa",
|
||||
"sam",
|
||||
"cpix",
|
||||
"lpix",
|
||||
"OTbs",
|
||||
"OTns",
|
||||
"OTnc",
|
||||
"OTMT",
|
||||
"OTNL",
|
||||
"OTpt",
|
||||
"OTxr",
|
||||
"bw", "am", "xsb", "xhp", "xenl", "eo", "gn", "hc", "km", "hs", "in", "db", "da", "mir",
|
||||
"msgr", "os", "eslok", "xt", "hz", "ul", "xon", "nxon", "mc5i", "chts", "nrrmc", "npc",
|
||||
"ndscr", "ccc", "bce", "hls", "xhpa", "crxm", "daisy", "xvpa", "sam", "cpix", "lpix", "OTbs",
|
||||
"OTns", "OTnc", "OTMT", "OTNL", "OTpt", "OTxr",
|
||||
];
|
||||
|
||||
static mut name: SomeType =
|
||||
|
Loading…
Reference in New Issue
Block a user