@@ -711,6 +711,7 @@ fn main() {
711711 println!("cargo:rerun-if-changed=build.rs");
712712}
713713//- /src/main.rs
714+ #![allow(warnings)]
714715#![feature(rustc_attrs)]
715716#[rustc_builtin_macro] macro_rules! include {
716717 ($file:expr $(,)?) => {{ /* compiler built-in */ }};
@@ -759,7 +760,7 @@ fn main() {
759760 let res = server. send_request :: < HoverRequest > ( HoverParams {
760761 text_document_position_params : TextDocumentPositionParams :: new (
761762 server. doc_id ( "src/main.rs" ) ,
762- Position :: new ( 29 , 10 ) ,
763+ Position :: new ( 30 , 10 ) ,
763764 ) ,
764765 work_done_progress_params : Default :: default ( ) ,
765766 } ) ;
@@ -768,7 +769,7 @@ fn main() {
768769 let res = server. send_request :: < HoverRequest > ( HoverParams {
769770 text_document_position_params : TextDocumentPositionParams :: new (
770771 server. doc_id ( "src/main.rs" ) ,
771- Position :: new ( 30 , 10 ) ,
772+ Position :: new ( 31 , 10 ) ,
772773 ) ,
773774 work_done_progress_params : Default :: default ( ) ,
774775 } ) ;
@@ -778,23 +779,23 @@ fn main() {
778779 GotoDefinitionParams {
779780 text_document_position_params : TextDocumentPositionParams :: new (
780781 server. doc_id ( "src/main.rs" ) ,
781- Position :: new ( 27 , 9 ) ,
782+ Position :: new ( 28 , 9 ) ,
782783 ) ,
783784 work_done_progress_params : Default :: default ( ) ,
784785 partial_result_params : Default :: default ( ) ,
785786 } ,
786787 json ! ( [ {
787788 "originSelectionRange" : {
788- "end" : { "character" : 10 , "line" : 27 } ,
789- "start" : { "character" : 8 , "line" : 27 }
789+ "end" : { "character" : 10 , "line" : 28 } ,
790+ "start" : { "character" : 8 , "line" : 28 }
790791 } ,
791792 "targetRange" : {
792- "end" : { "character" : 9 , "line" : 18 } ,
793- "start" : { "character" : 0 , "line" : 17 }
793+ "end" : { "character" : 9 , "line" : 19 } ,
794+ "start" : { "character" : 0 , "line" : 18 }
794795 } ,
795796 "targetSelectionRange" : {
796- "end" : { "character" : 8 , "line" : 18 } ,
797- "start" : { "character" : 7 , "line" : 18 }
797+ "end" : { "character" : 8 , "line" : 19 } ,
798+ "start" : { "character" : 7 , "line" : 19 }
798799 } ,
799800 "targetUri" : "file:///[..]src/main.rs"
800801 } ] ) ,
@@ -804,23 +805,23 @@ fn main() {
804805 GotoDefinitionParams {
805806 text_document_position_params : TextDocumentPositionParams :: new (
806807 server. doc_id ( "src/main.rs" ) ,
807- Position :: new ( 28 , 9 ) ,
808+ Position :: new ( 29 , 9 ) ,
808809 ) ,
809810 work_done_progress_params : Default :: default ( ) ,
810811 partial_result_params : Default :: default ( ) ,
811812 } ,
812813 json ! ( [ {
813814 "originSelectionRange" : {
814- "end" : { "character" : 10 , "line" : 28 } ,
815- "start" : { "character" : 8 , "line" : 28 }
815+ "end" : { "character" : 10 , "line" : 29 } ,
816+ "start" : { "character" : 8 , "line" : 29 }
816817 } ,
817818 "targetRange" : {
818- "end" : { "character" : 9 , "line" : 22 } ,
819- "start" : { "character" : 0 , "line" : 21 }
819+ "end" : { "character" : 9 , "line" : 23 } ,
820+ "start" : { "character" : 0 , "line" : 22 }
820821 } ,
821822 "targetSelectionRange" : {
822- "end" : { "character" : 8 , "line" : 22 } ,
823- "start" : { "character" : 7 , "line" : 22 }
823+ "end" : { "character" : 8 , "line" : 23 } ,
824+ "start" : { "character" : 7 , "line" : 23 }
824825 } ,
825826 "targetUri" : "file:///[..]src/main.rs"
826827 } ] ) ,
0 commit comments