-
-
Save yvt/64e008e17f34d496410d03582a1a8dd1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "rust-bug-202010" | |
version = "0.1.0" | |
edition = "2018" | |
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Because Gist doesn't support subdirectories... | |
mkdir -p src | |
mv src-lib.rs src/lib.rs | |
mv src-mymodule.rs src/mymodule.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro_rules! m { | |
() => { | |
/// A | |
pub mod mymodule; | |
} | |
} | |
m!(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! [`long_cat`] is really long |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment