fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected one of `@` or `|`, found `:` 2 --> $DIR/issue-87086-colon-path-sep.rs:17:12 3 | 4LL | Foo:Bar => {} 5 | ^--- specifying the type of a pattern isn't supported 6 | | 7 | expected one of `@` or `|` 8 | 9help: maybe write a path separator here 10 | 11LL | Foo::Bar => {} 12 | ~~ 13 14error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `:` 15 --> $DIR/issue-87086-colon-path-sep.rs:23:17 16 | 17LL | qux::Foo:Bar => {} 18 | ^--- specifying the type of a pattern isn't supported 19 | | 20 | expected one of 8 possible tokens 21 | 22help: maybe write a path separator here 23 | 24LL | qux::Foo::Bar => {} 25 | ~~ 26 27error: expected one of `@` or `|`, found `:` 28 --> $DIR/issue-87086-colon-path-sep.rs:29:12 29 | 30LL | qux:Foo::Baz => {} 31 | ^-------- specifying the type of a pattern isn't supported 32 | | 33 | expected one of `@` or `|` 34 | 35help: maybe write a path separator here 36 | 37LL | qux::Foo::Baz => {} 38 | ~~ 39 40error: expected one of `@` or `|`, found `:` 41 --> $DIR/issue-87086-colon-path-sep.rs:35:12 42 | 43LL | qux: Foo::Baz if true => {} 44 | ^ -------- specifying the type of a pattern isn't supported 45 | | 46 | expected one of `@` or `|` 47 | 48help: maybe write a path separator here 49 | 50LL | qux::Foo::Baz if true => {} 51 | ~~ 52 53error: expected one of `@` or `|`, found `:` 54 --> $DIR/issue-87086-colon-path-sep.rs:40:15 55 | 56LL | if let Foo:Bar = f() { 57 | ^--- specifying the type of a pattern isn't supported 58 | | 59 | expected one of `@` or `|` 60 | 61help: maybe write a path separator here 62 | 63LL | if let Foo::Bar = f() { 64 | ~~ 65 66error: expected one of `@` or `|`, found `:` 67 --> $DIR/issue-87086-colon-path-sep.rs:48:16 68 | 69LL | ref qux: Foo::Baz => {} 70 | ^ -------- specifying the type of a pattern isn't supported 71 | | 72 | expected one of `@` or `|` 73 | 74help: maybe write a path separator here 75 | 76LL | ref qux::Foo::Baz => {} 77 | ~~ 78 79error: expected one of `@` or `|`, found `:` 80 --> $DIR/issue-87086-colon-path-sep.rs:57:16 81 | 82LL | mut qux: Foo::Baz => {} 83 | ^ -------- specifying the type of a pattern isn't supported 84 | | 85 | expected one of `@` or `|` 86 | 87help: maybe write a path separator here 88 | 89LL | mut qux::Foo::Baz => {} 90 | ~~ 91 92error: expected one of `@` or `|`, found `:` 93 --> $DIR/issue-87086-colon-path-sep.rs:68:12 94 | 95LL | Foo:Bar::Baz => {} 96 | ^-------- specifying the type of a pattern isn't supported 97 | | 98 | expected one of `@` or `|` 99 | 100help: maybe write a path separator here 101 | 102LL | Foo::Bar::Baz => {} 103 | ~~ 104 105error: expected one of `@` or `|`, found `:` 106 --> $DIR/issue-87086-colon-path-sep.rs:74:12 107 | 108LL | Foo:Bar => {} 109 | ^--- specifying the type of a pattern isn't supported 110 | | 111 | expected one of `@` or `|` 112 | 113help: maybe write a path separator here 114 | 115LL | Foo::Bar => {} 116 | ~~ 117 118error: aborting due to 9 previous errors 119