2024-11-29 06:05:56 +11:00
|
|
|
//@ compile-flags: -Z parse-crate-root-only
|
2015-10-17 00:06:25 +03:00
|
|
|
|
2019-01-06 18:33:05 +03:00
|
|
|
fn main() {
|
2015-10-17 00:06:25 +03:00
|
|
|
// see assoc-oddities-1 for explanation
|
|
|
|
|
x..if c { a } else { b }[n]; //~ ERROR expected one of
|
|
|
|
|
}
|