{"id":18994578,"url":"https://github.com/timelessnesses/rust-parser-weird-thing","last_synced_at":"2026-06-25T11:31:24.584Z","repository":{"id":249155840,"uuid":"830620652","full_name":"timelessnesses/rust-parser-weird-thing","owner":"timelessnesses","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-18T16:32:15.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T15:42:31.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timelessnesses.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-18T16:16:18.000Z","updated_at":"2024-07-18T16:32:19.000Z","dependencies_parsed_at":"2024-07-18T22:09:49.028Z","dependency_job_id":null,"html_url":"https://github.com/timelessnesses/rust-parser-weird-thing","commit_stats":null,"previous_names":["timelessnesses/rust-parser-weird-thing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Frust-parser-weird-thing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Frust-parser-weird-thing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Frust-parser-weird-thing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Frust-parser-weird-thing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timelessnesses","download_url":"https://codeload.github.com/timelessnesses/rust-parser-weird-thing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240009663,"owners_count":19733503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T17:26:05.330Z","updated_at":"2026-04-15T18:30:21.726Z","avatar_url":"https://github.com/timelessnesses.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust's compiler bug thing?\n\nApparently the boundary checks for slice size is not checked under a circumstances for some reasons. If you try to run the code without removing commented out codes you will get error of `out of bounds` error, Rust does support compile time checks for any panic out of bound when accessing slices. But if your slice is in under a Tuple Struct which is returned by a function, the compiler won't check it for you. You can try remove comments and see that the `built_for_this` function doesn't get printed as error when try to compile the code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Frust-parser-weird-thing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimelessnesses%2Frust-parser-weird-thing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Frust-parser-weird-thing/lists"}