(builder: &mut Builder, enabled_extensions: &mut FxHashSet<Symbol>, ext: Symbol)
| 428 | enabled_capabilities.insert(cap); |
| 429 | } |
| 430 | fn add_ext(builder: &mut Builder, enabled_extensions: &mut FxHashSet<Symbol>, ext: Symbol) { |
| 431 | // This should be the only callsite of Builder::extension (aside from tests), to make |
| 432 | // sure the hashset stays in sync. |
| 433 | builder.extension(ext.as_str()); |
| 434 | enabled_extensions.insert(ext); |
| 435 | } |
| 436 | |
| 437 | for feature in features { |
| 438 | match *feature { |