Skip to content

Commit d8d4c58

Browse files
fix E0260 error index doctest
1 parent b3d6597 commit d8d4c58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_resolve/diagnostics.rs

+2
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ Erroneous code example:
325325
extern crate core;
326326
327327
struct core;
328+
329+
fn main() {}
328330
```
329331
330332
There are two possible solutions:

0 commit comments

Comments
 (0)