about summary refs log tree commit diff
path: root/src/test/compile-fail/parse-error-correct.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-06-11 19:48:46 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-06-12 01:47:01 +0200
commit2f3789474042e16f0fb35d1a03d1acfce151774e (patch)
treebc12b6e368de520b8c3bfcb7ea28e624d1c48ea8 /src/test/compile-fail/parse-error-correct.rs
parentf4dd365bbb362a0aab0beaa31db73bf55d6a0481 (diff)
downloadrust-2f3789474042e16f0fb35d1a03d1acfce151774e.tar.gz
rust-2f3789474042e16f0fb35d1a03d1acfce151774e.zip
Add E0610
Diffstat (limited to 'src/test/compile-fail/parse-error-correct.rs')
-rw-r--r--src/test/compile-fail/parse-error-correct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/parse-error-correct.rs b/src/test/compile-fail/parse-error-correct.rs
index 17b58a9f7c2..7dedfcf2727 100644
--- a/src/test/compile-fail/parse-error-correct.rs
+++ b/src/test/compile-fail/parse-error-correct.rs
@@ -17,5 +17,5 @@ fn main() {
     let y = 42;
     let x = y.;  //~ ERROR unexpected token
     let x = y.();  //~ ERROR unexpected token
-    let x = y.foo; //~ ERROR no field
+    let x = y.foo; //~ ERROR `{integer}` is a primitive type and therefore doesn't have fields [E061
 }