]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rmeta/rmeta_lib.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / rmeta / rmeta_lib.rs
CommitLineData
dfeec247 1// build-fail
532ac7d7 2// aux-build:rmeta-meta.rs
32a655c1 3// no-prefer-dynamic
ea8adc8c 4// error-pattern: crate `rmeta_meta` required to be available in rlib format, but was not found
1a4d82fc 5
32a655c1
SL
6// Check that building a non-metadata crate fails if a dependent crate is
7// metadata-only.
223e47cc 8
32a655c1
SL
9extern crate rmeta_meta;
10use rmeta_meta::Foo;
223e47cc
LB
11
12fn main() {
32a655c1 13 let _ = Foo { field: 42 };
223e47cc 14}