(
&mut self,
name: &'static str,
query: impl IntoIterator<Item = &'static str, IntoIter: Clone>,
)
| 189 | } |
| 190 | |
| 191 | fn import_absolute_static( |
| 192 | &mut self, |
| 193 | name: &'static str, |
| 194 | query: impl IntoIterator<Item = &'static str, IntoIter: Clone>, |
| 195 | ) -> bool { |
| 196 | let name = self.registry.heap.intern_symbol(name); |
| 197 | let query = query |
| 198 | .into_iter() |
| 199 | .map(|symbol| self.registry.heap.intern_symbol(symbol)); |
| 200 | |
| 201 | self.import_absolute( |
| 202 | name, |
| 203 | query, |
| 204 | ImportOptions { |
| 205 | glob: false, |
| 206 | mode: ResolutionMode::Absolute, |
| 207 | suggestions: false, |
| 208 | }, |
| 209 | ) |
| 210 | .is_ok() |
| 211 | } |
| 212 | |
| 213 | /// Resolves a path relative to the current scope. |
| 214 | /// |
no test coverage detected