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 d223029 commit 4154df8Copy full SHA for 4154df8
src/test/ui/static/auxiliary/issue_24843.rs
@@ -0,0 +1 @@
1
+pub static TEST_STR: &'static str = "Hello world";
src/test/ui/static/issue-24843.rs
@@ -0,0 +1,8 @@
+// aux-build: issue_24843.rs
2
+// check-pass
3
+
4
+extern crate issue_24843;
5
6
+static _TEST_STR_2: &'static str = &issue_24843::TEST_STR;
7
8
+fn main() {}
0 commit comments