Skip to content

Commit 1b2ada3

Browse files
committed
Apply review comments
1 parent 7352661 commit 1b2ada3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/unresolved_macro_call.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ macro_rules! panic {
9393
}
9494
9595
//- /lib.rs crate:foo deps:core
96+
#[macro_use]
9697
extern crate core;
9798
9899
fn foo() {

src/tools/rust-analyzer/crates/ide/src/syntax_highlighting/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ fn test_string_highlighting() {
446446
//- minicore: fmt, assert, asm, concat, panic
447447
macro_rules! println {
448448
($($arg:tt)*) => ({
449-
$crate::io::_print(std::format_args_nl!($($arg)*));
449+
$crate::io::_print(format_args_nl!($($arg)*));
450450
})
451451
}
452452

0 commit comments

Comments
 (0)