File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
branches/try/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5
- refs/heads/try: 838595add0586e3e23967722e2005b66ea8387b8
5
+ refs/heads/try: 85069e0529116d4f4e78bdcbd4f3c88274a678f0
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change
1
+ // aux-build:struct-field-privacy.rs
2
+
3
+ extern crate "struct-field-privacy" as xc;
4
+
5
+ use xc:: B ;
6
+
7
+ fn main ( ) {
8
+ let k = B {
9
+ aa : 20 , //~ ERROR structure `struct-field-privacy::B` has no field named `aa`
10
+ //~^ HELP did you mean `a`?
11
+ bb : 20 , //~ ERROR structure `struct-field-privacy::B` has no field named `bb`
12
+ } ;
13
+ }
You can’t perform that action at this time.
0 commit comments