We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b0b747 commit b825d65Copy full SHA for b825d65
core/tests/macros.rs
@@ -1,3 +1,4 @@
1
+#[allow(dead_code)]
2
trait Trait {
3
fn blah(&self);
4
}
std/src/sys_common/mod.rs
@@ -59,12 +59,14 @@ cfg_if::cfg_if! {
59
60
/// A trait for viewing representations from std types
61
#[doc(hidden)]
62
+#[allow(dead_code)] // not used on all platforms
63
pub trait AsInner<Inner: ?Sized> {
64
fn as_inner(&self) -> &Inner;
65
66
67
68
69
70
pub trait AsInnerMut<Inner: ?Sized> {
71
fn as_inner_mut(&mut self) -> &mut Inner;
72
0 commit comments