From d8d4c583be96d9eb654891288829af9410b68e1c Mon Sep 17 00:00:00 2001 From: QuietMisdreavus Date: Mon, 12 Feb 2018 10:32:04 -0600 Subject: [PATCH] fix E0260 error index doctest --- src/librustc_resolve/diagnostics.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustc_resolve/diagnostics.rs b/src/librustc_resolve/diagnostics.rs index 8a29155d12d..c1e6b4f5a17 100644 --- a/src/librustc_resolve/diagnostics.rs +++ b/src/librustc_resolve/diagnostics.rs @@ -325,6 +325,8 @@ fn main() {} extern crate core; struct core; + +fn main() {} ``` There are two possible solutions: -- 2.44.0