Commit a840e8f
committed
rust-2018/path-changes: updates for Rust 1.72
Since rust-lang/rust#112086, paths in `use` statements have the same shadowing
rules as other paths, at least for the simple cases we're talking about in
this guide.
The case of an external crate having the same name as a local module still
seems worth mentioning, so I've put it in the "Extern crate paths" section.1 parent 5697b4a commit a840e8f
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
209 | 214 | | |
210 | 215 | | |
211 | 216 | | |
| |||
371 | 376 | | |
372 | 377 | | |
373 | 378 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
0 commit comments