diff options
| author | bors <bors@rust-lang.org> | 2018-07-19 21:14:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-19 21:14:01 +0000 |
| commit | c7cba3d33f564be140275c4fb9e33c6dc2c97b21 (patch) | |
| tree | 335186328a99169f173b7c24389543d5f10f6886 /src/test/ui/tuple-float-index.fixed | |
| parent | 11864c4e6cbf9f76ba8589c251908a73c6d9277b (diff) | |
| parent | 9017f79282f1d745453a5117af25a3b477600a90 (diff) | |
Auto merge of #52024 - oli-obk:existential_parse, r=nikomatsakis
Implement existential types (not for associated types yet) r? @nikomatsakis cc @Centril @varkor @alexreg
Diffstat (limited to 'src/test/ui/tuple-float-index.fixed')
| -rw-r--r-- | src/test/ui/tuple-float-index.fixed | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/tuple-float-index.fixed b/src/test/ui/tuple-float-index.fixed new file mode 100644 index 00000000000..55bc2f77dad --- /dev/null +++ b/src/test/ui/tuple-float-index.fixed @@ -0,0 +1,16 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// run-rustfix +// compile-flags: -Z parse-only + +fn main () { + ((1, (2, 3)).1).1; //~ ERROR unexpected token: `1.1` +} |
