]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_middle/src/tests.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / compiler / rustc_middle / src / tests.rs
1 use super::*;
2
3 // FIXME(#27438): right now the unit tests of librustc_middle don't refer to any actual
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 }