diff options
| author | Aidan Hobson Sayers <aidanhs@cantab.net> | 2018-02-18 17:39:40 +0000 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-04-03 11:02:34 +0200 |
| commit | 9b5859aea199d5f34a4d4b5ae7112c5c41f3b242 (patch) | |
| tree | bc74fbacefd74d626e8c43968ab329c7621f4f70 /src/test/parse-fail | |
| parent | 5ee891cfeabc0872624104611cc0a359f46447cc (diff) | |
Remove all unstable placement features
Closes #22181, #27779
Diffstat (limited to 'src/test/parse-fail')
| -rw-r--r-- | src/test/parse-fail/assoc-oddities-1.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/parse-fail/assoc-oddities-1.rs b/src/test/parse-fail/assoc-oddities-1.rs index 5c0c47de58a..63408b76b15 100644 --- a/src/test/parse-fail/assoc-oddities-1.rs +++ b/src/test/parse-fail/assoc-oddities-1.rs @@ -13,10 +13,9 @@ fn that_odd_parse() { // following lines below parse and must not fail x = if c { a } else { b }(); - x <- if c { a } else { b }[n]; x = if true { 1 } else { 0 } as *mut _; // however this does not parse and probably should fail to retain compat? - // NB: `..` here is arbitrary, failure happens/should happen ∀ops that aren’t `=` or `<-` + // NB: `..` here is arbitrary, failure happens/should happen ∀ops that aren’t `=` // see assoc-oddities-2 and assoc-oddities-3 ..if c { a } else { b }[n]; //~ ERROR expected one of } |
