File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -276,14 +276,7 @@ pub struct ExternEntry {
276
276
pub public : bool
277
277
}
278
278
279
- impl ExternEntry {
280
- pub fn new_public ( location : Option < String > ) -> ExternEntry {
281
- ExternEntry {
282
- location,
283
- public : true
284
- }
285
- }
286
- }
279
+
287
280
288
281
impl Externs {
289
282
pub fn new ( data : BTreeMap < String , BTreeSet < ExternEntry > > ) -> Externs {
@@ -2676,6 +2669,15 @@ mod tests {
2676
2669
use syntax;
2677
2670
use super :: Options ;
2678
2671
2672
+ impl ExternEntry {
2673
+ fn new_public ( location : Option < String > ) -> ExternEntry {
2674
+ ExternEntry {
2675
+ location,
2676
+ public : true
2677
+ }
2678
+ }
2679
+ }
2680
+
2679
2681
fn optgroups ( ) -> getopts:: Options {
2680
2682
let mut opts = getopts:: Options :: new ( ) ;
2681
2683
for group in super :: rustc_optgroups ( ) {
You can’t perform that action at this time.
0 commit comments