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.
1 parent df984ed commit 108ebe3Copy full SHA for 108ebe3
tests/crashes/114920.rs
tests/ui/macros/test-on-crate-root.rs
@@ -0,0 +1,8 @@
1
+// ICE when applying `#![test]` to the crate root,
2
+// though only when specified with a full path. `#![test]` is not enough.
3
+// Fixes #114920
4
+#![core::prelude::v1::test]
5
+
6
7
8
+fn main() {} // not important to reproduce the issue
0 commit comments