From 7ffd46c9246e1355b2bcec4f0d38450548de7730 Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Fri, 24 Jun 2016 23:31:00 +0200 Subject: [PATCH] add regression test for #33455 --- src/test/parse-fail/issue-33455.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/test/parse-fail/issue-33455.rs diff --git a/src/test/parse-fail/issue-33455.rs b/src/test/parse-fail/issue-33455.rs new file mode 100644 index 0000000000000..96070332f06df --- /dev/null +++ b/src/test/parse-fail/issue-33455.rs @@ -0,0 +1,11 @@ +// Copyright 2016 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +use foo.bar; //~ ERROR expected one of `::`, `;`, or `as`, found `.`