first commit

This commit is contained in:
Le_Foucheur committed 2026-04-30 01:29:19 +02:00
commit cacda9ea37
1035 files changed
+2672

No files matched your search

@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1,3 @@
{"$message_type":"diagnostic","message":"non-exhaustive patterns: type `(u8, u8)` is non-empty","code":{"code":"E0004","explanation":"This error indicates that the compiler cannot guarantee a matching pattern for\none or more possible inputs to a match expression. Guaranteed matches are\nrequired in order to assign values to match expressions, or alternatively,\ndetermine the flow of execution.\n\nErroneous code example:\n\n```compile_fail,E0004\nenum Terminator {\n HastaLaVistaBaby,\n TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x { // error: non-exhaustive patterns: `HastaLaVistaBaby` not covered\n Terminator::TalkToMyHand => {}\n}\n```\n\nIf you encounter this error you must alter your patterns so that every possible\nvalue of the input type is matched. For types with a small number of variants\n(like enums) you should probably cover all cases explicitly. Alternatively, the\nunderscore `_` wildcard pattern can be added after all other patterns to match\n\"anything else\". Example:\n\n```\nenum Terminator {\n HastaLaVistaBaby,\n TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x {\n Terminator::TalkToMyHand => {}\n Terminator::HastaLaVistaBaby => {}\n}\n\n// or:\n\nmatch x {\n Terminator::TalkToMyHand => {}\n _ => {}\n}\n```\n"},"level":"error","spans":[{"file_name":"src/main.rs","byte_start":1429,"byte_end":1459,"line_start":52,"line_end":52,"column_start":31,"column_end":61,"is_primary":true,"text":[{"text":" match (self[(x,y)], self[(x,y + 1)]) {","highlight_start":31,"highlight_end":61}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the matched value is of type `(u8, u8)`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":1459,"byte_end":1487,"line_start":52,"line_end":53,"column_start":61,"column_end":26,"is_primary":true,"text":[{"text":" match (self[(x,y)], self[(x,y + 1)]) {","highlight_start":61,"highlight_end":63},{"text":" }","highlight_start":1,"highlight_end":26}],"label":null,"suggested_replacement":" {\n _ => todo!(),\n }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror[E0004]\u001b[0m\u001b[0m\u001b[1m: non-exhaustive patterns: type `(u8, u8)` is non-empty\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:52:31\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m52\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m match (self[(x,y)], self[(x,y + 1)]) {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: the matched value is of type `(u8, u8)`\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;14mhelp\u001b[0m\u001b[0m: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m53\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m match (self[(x,y)], self[(x,y + 1)]) {\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m54\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[38;5;10m~ \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[38;5;10m _ => todo!(),\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m55\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[38;5;10m~ \u001b[0m\u001b[0m}\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"aborting due to 1 previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to 1 previous error\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0004`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1mFor more information about this error, try `rustc --explain E0004`.\u001b[0m\n"}
Whitespace-only changes.
@@ -0,0 +1 @@
{"rustc":2697959624369812960,"features":"[]","declared_features":"[]","target":3187127800733246183,"profile":3316208278650011218,"path":4942398508502643691,"deps":[[2578702214067455438,"crossterm",false,2089077238401769291],[4684437522915235464,"libc",false,9028085659348561764],[6702271452560637055,"terminal_size",false,9535240203836236717],[17395637519455072168,"ctrlc",false,16128921400314760351]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/Coral-0dd284b0060d3e4f/dep-test-bin-Coral","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}