Skip to content

Commit efe2269

Browse files
committed
Apply review comments
1 parent 78dba01 commit efe2269

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

0 commit comments

Comments
 (0)