Skip to content

Commit 1e3749c

Browse files
authored
Remove allow(missing_fragment_specifier) (#765)
This lint is `allow`ed in a few places where it doesn't seem to be needed. The `missing_fragment_specifier` lint will be going away in a future version of Rust and replaced with a hard error [1], so update this now to avoid a future `unknown_lints` warning. [1]: rust-lang/rust#128425
1 parent cd38182 commit 1e3749c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

crates/ipc/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ mod error;
1717
/// inadvertently written a bad length prefix to stdout.
1818
#[doc(hidden)]
1919
#[macro_export]
20-
#[allow(missing_fragment_specifier)]
2120
macro_rules! println {
2221
($($any:tt)*) => {
2322
compile_error!("println! macro is forbidden, use eprintln! instead");

tests/integration/src/test_extension_helper.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use std::{path::PathBuf, sync::Arc};
1313
use tokio::sync::RwLock;
1414

1515
#[macro_export]
16-
#[allow(missing_fragment_specifier)]
1716
macro_rules! println {
1817
($($any:tt)*) => {
1918
compile_error!("println! macro is forbidden, use eprintln! instead");

0 commit comments

Comments
 (0)