https://bugzilla.redhat.com/show_bug.cgi?id=2181022



--- Comment #10 from Fabio Valentini <[email protected]> ---
Ah, that's true ... this situation just leads to code that's "unreachable" by
the compiler:

#[cfg(test)]
mod tests {
    #[cfg(not(test))]
    fn test() {}
}

It's a bit of a hack though :)


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2181022
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to