make Parse fields private
this is in preparation for the new rowan API
This commit is contained in:
@@ -102,7 +102,7 @@ fn main() -> Result<()> {
|
||||
|
||||
fn file() -> Result<TreeArc<SourceFile>> {
|
||||
let text = read_stdin()?;
|
||||
Ok(SourceFile::parse(&text).tree)
|
||||
Ok(SourceFile::parse(&text).tree().to_owned())
|
||||
}
|
||||
|
||||
fn read_stdin() -> Result<String> {
|
||||
|
||||
Reference in New Issue
Block a user