]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/tests/source/cfg_if/detect/os/other.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / cfg_if / detect / os / other.rs
diff --git a/src/tools/rustfmt/tests/source/cfg_if/detect/os/other.rs b/src/tools/rustfmt/tests/source/cfg_if/detect/os/other.rs
new file mode 100644 (file)
index 0000000..23e399e
--- /dev/null
@@ -0,0 +1,9 @@
+//! Other operating systems
+
+use crate::detect::Feature;
+
+/// Performs run-time feature detection.
+#[inline]
+pub fn check_for(_x: Feature) -> bool {
+    false
+}