diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-23 10:54:25 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-23 12:00:06 +0100 |
| commit | b2a3d3f235fb5a23322435b854460f52db772114 (patch) | |
| tree | 441ded5e4fcc0a702fe877fc6a3e3fedaaacabb5 /src/diag.rs | |
| parent | 65aa27014d090628cfef14b0679d86dd611188b9 (diff) | |
More general evaluation interface
Diffstat (limited to 'src/diag.rs')
| -rw-r--r-- | src/diag.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/diag.rs b/src/diag.rs index 613789f8..99ef1291 100644 --- a/src/diag.rs +++ b/src/diag.rs @@ -49,6 +49,9 @@ pub use crate::__error as error; pub type SourceResult<T> = Result<T, Box<Vec<SourceError>>>; /// An error in a source file. +/// +/// This contained spans will only be detached if any of the input source files +/// were detached. #[derive(Debug, Clone, Eq, PartialEq, Hash)] pub struct SourceError { /// The span of the erroneous node in the source code. |
