File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_resolve/src/rustdoc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use std::path::PathBuf;
22
33use rustc_span:: source_map:: { FilePathMapping , SourceMap } ;
44use rustc_span:: symbol:: sym;
5- use rustc_span:: { BytePos , Span } ;
5+ use rustc_span:: { BytePos , DUMMY_SP , Span } ;
66
77use super :: { DocFragment , DocFragmentKind , source_span_for_markdown_range_inner} ;
88
@@ -17,7 +17,7 @@ fn single_backtick() {
1717 & [ DocFragment {
1818 span : Span :: with_root_ctxt ( BytePos ( 8 ) , BytePos ( 11 ) ) ,
1919 item_id : None ,
20- kind : DocFragmentKind :: RawDoc ,
20+ kind : DocFragmentKind :: Raw ( DUMMY_SP ) ,
2121 doc : sym:: empty, // unused placeholder
2222 indent : 0 ,
2323 from_expansion : false ,
@@ -40,7 +40,7 @@ fn utf8() {
4040 & [ DocFragment {
4141 span : Span :: with_root_ctxt ( BytePos ( 8 ) , BytePos ( 14 ) ) ,
4242 item_id : None ,
43- kind : DocFragmentKind :: RawDoc ,
43+ kind : DocFragmentKind :: Raw ( DUMMY_SP ) ,
4444 doc : sym:: empty, // unused placeholder
4545 indent : 0 ,
4646 from_expansion : false ,
You can’t perform that action at this time.
0 commit comments