You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/guessing_game.rs:20:15: 20:20 error: mismatched types: expected `int` but found `collections::string::String` (expected int but found struct collections::string::String)
1900
-
src/guessing_game.rs:20 match cmp(input, secret_number) {
1901
-
^~~~~
1902
-
src/guessing_game.rs:20:22: 20:35 error: mismatched types: expected `int` but found `uint` (expected int but found uint)
1903
-
src/guessing_game.rs:20 match cmp(input, secret_number) {
1904
-
^~~~~~~~~~~~~
1899
+
src/main.rs:20:15: 20:20 error: mismatched types: expected `int` but found `collections::string::String` (expected int but found struct collections::string::String)
1900
+
src/main.rs:20 match cmp(input, secret_number) {
1901
+
^~~~~
1902
+
src/main.rs:20:22: 20:35 error: mismatched types: expected `int` but found `uint` (expected int but found uint)
src/guessing_game.rs:20:15: 20:20 error: mismatched types: expected `uint` but found `collections::string::String` (expected uint but found struct collections::string::String)
1954
-
src/guessing_game.rs:20 match cmp(input, secret_number) {
1955
-
^~~~~
1953
+
src/main.rs:20:15: 20:20 error: mismatched types: expected `uint` but found `collections::string::String` (expected uint but found struct collections::string::String)
src/guessing_game.rs:22:15: 22:24 error: mismatched types: expected `uint` but found `core::option::Option<uint>` (expected uint but found enum core::option::Option)
2057
-
src/guessing_game.rs:22 match cmp(input_num, secret_number) {
2058
-
^~~~~~~~~
2056
+
src/main.rs:22:15: 22:24 error: mismatched types: expected `uint` but found `core::option::Option<uint>` (expected uint but found enum core::option::Option)
2057
+
src/main.rs:22 match cmp(input_num, secret_number) {
0 commit comments