We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5c51b0 + 38869a8 commit d1d8d75Copy full SHA for d1d8d75
src/fallback.rs
@@ -17,15 +17,15 @@ use unicode_xid::UnicodeXID;
17
18
/// Force use of proc-macro2's fallback implementation of the API for now, even
19
/// if the compiler's implementation is available.
20
-#[cfg(wrap_proc_macro)]
21
pub fn force() {
+ #[cfg(wrap_proc_macro)]
22
crate::detection::force_fallback();
23
}
24
25
/// Resume using the compiler's implementation of the proc macro API if it is
26
/// available.
27
28
pub fn unforce() {
29
crate::detection::unforce_fallback();
30
31
0 commit comments