File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3636//! ```
3737
3838use crate :: {
39- diagnostic:: { diagnostic_url, IntoReport , Label } ,
39+ diagnostic:: { diagnostic_url, Diagnostic , Label } ,
4040 Token ,
4141} ;
4242use 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 {
Original file line number Diff line number Diff line change 11use core:: { iter:: once, str:: Split } ;
22
33use crate :: {
4- diagnostic:: { diagnostic_url, IntoReport , Label } ,
4+ diagnostic:: { diagnostic_url, Diagnostic , Label } ,
55 index:: { Index , ParseIndexError } ,
66} ;
77use 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 {
You can’t perform that action at this time.
0 commit comments