| 242 | source_path: Option<PathBuf>, |
| 243 | }, |
| 244 | Path { |
| 245 | name: String, |
| 246 | path: PathBuf, |
| 247 | }, |
| 248 | } |
| 249 | |
| 250 | impl BuildSource { |
| 251 | pub fn inline(name: impl Into<String>, source: impl Into<String>) -> Self { |
| 252 | Self::Inline { |
| 253 | name: name.into(), |
| 254 | source: source.into(), |
| 255 | source_path: None, |
| 256 | } |
| 257 | } |
nothing calls this directly
no outgoing calls
no test coverage detected