File tree Expand file tree Collapse file tree 7 files changed +7
-3
lines changed
branches/try/src/test/compile-fail Expand file tree Collapse file tree 7 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5
- refs/heads/try: 8a69dba84a1be53949d0c24452b9910c7119ed68
5
+ refs/heads/try: 68863153bba3ab994978b49216cb58641e7a9fbb
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
use x = m:: f; //~ ERROR failed to resolve import
12
+ //~^ unresolved import: there is no `f` in `m`
12
13
13
14
mod m {
14
15
}
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
use x = m:: f; //~ ERROR failed to resolve import
12
+ //~^ ERROR unresolved import: there is no `f` in `m`
12
13
13
14
mod m {
14
15
}
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
use zoo:: { duck, goose} ; //~ ERROR failed to resolve import
12
+ //~^ ERROR unresolved import: found `goose` in `zoo` but it is private
12
13
13
14
mod zoo {
14
15
pub enum bird {
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
use zoo:: fly; //~ ERROR failed to resolve import
12
+ //~^ ERROR unresolved import: found `fly` in `zoo` but it is private
12
13
13
14
mod zoo {
14
15
priv type fly = ( ) ;
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
use zoo:: fly; //~ ERROR failed to resolve import
12
+ //~^ ERROR unresolved import: found `fly` in `zoo` but it is private
12
13
13
14
mod zoo {
14
15
priv fn fly ( ) { }
Original file line number Diff line number Diff line change 1
- use super :: f; //~ ERROR unresolved name
2
- //~^ ERROR failed to resolve import
1
+ use super :: f; //~ ERROR failed to resolve import
3
2
4
3
fn main ( ) {
5
4
}
You can’t perform that action at this time.
0 commit comments