We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FileName::as_str
1 parent bf08ddb commit 9d08a68Copy full SHA for 9d08a68
midenc-compile/src/stages/parse.rs
@@ -44,15 +44,15 @@ impl Stage for ParseStage {
44
input,
45
session,
46
&WasmTranslationConfig {
47
- source_name: name.to_string().into(),
+ source_name: name.as_str().unwrap().to_string().into(),
48
..Default::default()
49
},
50
),
51
FileType::Wat => self.parse_hir_from_wat_bytes(
52
53
54
55
56
57
58
0 commit comments