]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_middle/src/tests.rs
Rollup merge of #104922 - estebank:fur-elize, r=oli-obk
[rust.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 }