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.
i
1 parent 636a849 commit 8cc1149Copy full SHA for 8cc1149
src/test/compile-fail/fail-type-err.rs
@@ -1,2 +1,2 @@
1
// error-pattern:expected `str` but found `[int]`
2
-fn main() { fail [0]; }
+fn main() { fail [0i]; }
src/test/compile-fail/issue-897.rs
@@ -1,5 +1,5 @@
fn f() -> ! {
- ret 42; //! ERROR expected `_|_` but found `int`
+ ret 42i; //! ERROR expected `_|_` but found `int`
3
fail; //! WARNING unreachable statement
4
}
5
fn main() { }
0 commit comments