about summary refs log tree commit diff
path: root/src/test/ui/tuple-float-index.fixed
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-19 21:14:01 +0000
committerbors <bors@rust-lang.org>2018-07-19 21:14:01 +0000
commitc7cba3d33f564be140275c4fb9e33c6dc2c97b21 (patch)
tree335186328a99169f173b7c24389543d5f10f6886 /src/test/ui/tuple-float-index.fixed
parent11864c4e6cbf9f76ba8589c251908a73c6d9277b (diff)
parent9017f79282f1d745453a5117af25a3b477600a90 (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.fixed16
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`
+}