We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bb6882 commit be663bfCopy full SHA for be663bf
src/test/ui/rmeta-rpass.rs
@@ -1,6 +1,11 @@
1
// run-pass
2
// Test that using rlibs and rmeta dep crates work together. Specifically, that
3
-// there can be both an rmeta and an rlib file and rustc will prefer the rlib.
+// there can be both an rmeta and an rlib file and rustc will prefer the rmeta
4
+// file.
5
+//
6
+// This behavior is simply making sure this doesn't accidentally change; in this
7
+// case we want to make sure that the rlib isn't being used as that would cause
8
+// bugs in -Zbinary-dep-depinfo (see #68298).
9
10
// aux-build:rmeta-rmeta.rs
11
// aux-build:rmeta-rlib-rpass.rs
@@ -9,5 +14,5 @@ extern crate rmeta_aux;
14
use rmeta_aux::Foo;
15
16
pub fn main() {
12
- let _ = Foo { field: 42 };
17
+ let _ = Foo { field2: 42 };
13
18
}
0 commit comments