Skip to content

Commit 14e9e71

Browse files
committed
Apply review comments
1 parent 50b608e commit 14e9e71

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
@@ -447,7 +447,7 @@ fn test_string_highlighting() {
447447
//- minicore: fmt, assert, asm, concat, panic
448448
macro_rules! println {
449449
($($arg:tt)*) => ({
450-
$crate::io::_print(std::format_args_nl!($($arg)*));
450+
$crate::io::_print(format_args_nl!($($arg)*));
451451
})
452452
}
453453

0 commit comments

Comments
 (0)