summaryrefslogtreecommitdiff
path: root/src/syntax/source.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/source.rs')
-rw-r--r--src/syntax/source.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syntax/source.rs b/src/syntax/source.rs
index a51da301..2a474b17 100644
--- a/src/syntax/source.rs
+++ b/src/syntax/source.rs
@@ -28,6 +28,7 @@ pub struct Source {
impl Source {
/// Create a new source file.
+ #[tracing::instrument(skip_all)]
pub fn new(id: SourceId, path: &Path, text: String) -> Self {
let mut root = parse(&text);
root.numberize(id, Span::FULL).unwrap();