Set show_code_when_inline to true

Fixes #1902
This commit is contained in:
Matt Kraai 2017-07-24 06:37:12 -07:00
parent 8a1510013d
commit de3bdf5826

View File

@ -584,6 +584,7 @@ pub fn multispan_sugg(db: &mut DiagnosticBuilder, help_msg: String, sugg: Vec<(S
})
.collect(),
msg: help_msg,
show_code_when_inline: true,
};
db.suggestions.push(sugg);
}