Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit c16724c

Browse files
authored
Merge pull request #159 from ehuss/pub-rendered
Make Diagnostic::rendered public.
2 parents 1ca1cbd + d904271 commit c16724c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct Diagnostic {
1515
/// The message as rustc would render it. Currently this is only
1616
/// `Some` for "suggestions", but eventually it will include all
1717
/// snippets.
18-
rendered: Option<String>,
18+
pub rendered: Option<String>,
1919
}
2020

2121
#[derive(Deserialize, Debug)]

0 commit comments

Comments
 (0)