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.
1 parent e2a7392 commit 6f5a835Copy full SHA for 6f5a835
tests/spec/features/compilation_targets_spec.rb
@@ -95,6 +95,18 @@
95
end
96
97
98
+ scenario "compiling to HIR" do
99
+ editor.set <<~EOF
100
+ fn demo() -> impl std::fmt::Display { 42 }
101
+ EOF
102
+
103
+ in_build_menu { click_on("HIR") }
104
105
+ within('.output-result') do
106
+ expect(page).to have_content 'fn demo() -> /*impl Trait*/ { 42 }'
107
+ end
108
109
110
scenario "compiling to WebAssembly" do
111
in_build_menu { click_on("WASM") }
112
0 commit comments