File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/try/src/librustc_resolve Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 56b450b2912d1fe1f2c88d05e79f85f78ff2ec98
4
+ refs/heads/try: 44f29fbdbc5edf067c272851d38e32a747613597
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -100,10 +100,10 @@ trying to import a function from a trait. An example of this error:
100
100
```
101
101
mod foo {
102
102
pub trait MyTrait {
103
- fn doSomething ();
103
+ fn do_something ();
104
104
}
105
105
}
106
- use foo::MyTrait::doSomething ;
106
+ use foo::MyTrait::do_something ;
107
107
```
108
108
109
109
In general, it's not legal to directly import methods belonging to a
You can’t perform that action at this time.
0 commit comments