]>
Commit | Line | Data |
---|---|---|
416331ca XL |
1 | use super::*; |
2 | ||
ba9703b0 | 3 | // FIXME(#27438): right now the unit tests of librustc_middle don't refer to any actual |
416331ca XL |
4 | // functions generated in librustc_data_structures (all |
5 | // references are through generic functions), but statics are | |
6 | // referenced from time to time. Due to this bug we won't | |
7 | // actually correctly link in the statics unless we also | |
8 | // reference a function, so be sure to reference a dummy | |
9 | // function. | |
10 | #[test] | |
11 | fn noop() { | |
12 | rustc_data_structures::__noop_fix_for_27438(); | |
13 | } |