Skip to content

Commit 7c9e8ed

Browse files
committed
fix incomplete rebase
1 parent d40db78 commit 7c9e8ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/index.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
//! ```
3737
3838
use crate::{
39-
diagnostic::{diagnostic_url, IntoReport, Label},
39+
diagnostic::{diagnostic_url, Diagnostic, Label},
4040
Token,
4141
};
4242
use alloc::string::String;
@@ -342,7 +342,7 @@ impl core::ops::Deref for StringOrToken {
342342
}
343343
}
344344

345-
impl IntoReport for ParseIndexError {
345+
impl Diagnostic for ParseIndexError {
346346
type Subject = StringOrToken;
347347

348348
fn url() -> &'static str {

src/token.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use core::{iter::once, str::Split};
22

33
use crate::{
4-
diagnostic::{diagnostic_url, IntoReport, Label},
4+
diagnostic::{diagnostic_url, Diagnostic, Label},
55
index::{Index, ParseIndexError},
66
};
77
use alloc::{
@@ -394,7 +394,7 @@ impl fmt::Display for EncodingError {
394394
}
395395
}
396396

397-
impl IntoReport for EncodingError {
397+
impl Diagnostic for EncodingError {
398398
type Subject = String;
399399

400400
fn url() -> &'static str {

0 commit comments

Comments
 (0)