Skip to content

Commit 6caf79c

Browse files
committed
Allow internal_features in test
1 parent a4cf405 commit 6caf79c

File tree

1 file changed

+2
-1
lines changed
  • crates/rust-analyzer/tests/slow-tests

1 file changed

+2
-1
lines changed

crates/rust-analyzer/tests/slow-tests/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,7 @@ edition = "2021"
861861
bar = {path = "../bar"}
862862
863863
//- /foo/src/main.rs
864+
#![allow(internal_features)]
864865
#![feature(rustc_attrs, decl_macro)]
865866
use bar::Bar;
866867
@@ -938,7 +939,7 @@ pub fn foo(_input: TokenStream) -> TokenStream {
938939
let res = server.send_request::<HoverRequest>(HoverParams {
939940
text_document_position_params: TextDocumentPositionParams::new(
940941
server.doc_id("foo/src/main.rs"),
941-
Position::new(11, 9),
942+
Position::new(12, 9),
942943
),
943944
work_done_progress_params: Default::default(),
944945
});

0 commit comments

Comments
 (0)