profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/asquared31415/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

asquared31415/ArcheTape 2

Archetype ECS written in Rust

Hexicube/Minecraft-Enchantment-Cracker 2

.NET version of Earthcomputer's Enchantment Cracker

asquared31415/Cairath-ONI-Mods 0

Mods for Oxygen Not Included

asquared31415/Harmony 0

A library for patching, replacing and decorating .NET and Mono methods during runtime

asquared31415/kanimal-SE 0

Converter between cut-out animation formats, including kanim and scml.

asquared31415/KParser2 0

Version 2 of kparser. Written in C#

issue commentrust-lang/rust

Confusing lifetime error in the presence of a loop

I think these are technically different errors, borrowing versus assignment, but they are both extremely similar and would benefit from mentioning the loop if possible.

jyn514

comment created time in 3 days

push eventasquared31415/ONI-mods

asquared31415

commit sha bc77b40ff34ef24d552a40d6f4a2247e350ef6f9

Priority zero fixes, traffic overlay remove hotkey

view details

asquared31415

commit sha 438c6c48304f4028c611ebb909af6eb980a2e075

Failsafes for better animations

view details

asquared31415

commit sha 56d443ea82a24dda47c73afb02f47d9714f12c35

Remove old tile field

view details

push time in 4 days

issue closedasquared31415/ONI-mods

Crashes on startup with new patch (9/16)

This affects another mod I use but seems to apply to every mod that adds new tiles

looks like they added an additional (mandatory) field to RegisterBuilding calls:

"System.MissingFieldException: Field BuildingDef.isSolidTile not found."

closed time in 4 days

Exende

issue commentasquared31415/ONI-mods

Crashes on startup with new patch (9/16)

This has been fixed by the latest version v2.0.1

Exende

comment created time in 4 days

issue closedasquared31415/ONI-mods

Priority Zero crash

Priority Zero keeps crashing seemingly randomly. It happens when i click something, but what i click and when it happens seem completely arbitrary.

I haven't been able to reproduce it on purpose, except that it happens somewhat frequently, every 10 or 20 cycles or so.

The error message given was this the last two times it happened:

Priority Value Out Of Range: -200

UnityEngine.Debug:LogErrorFormat (string,object[])
Debug:LogErrorFormat (string,object[])
(wrapper dynamic-method) Chore:Chore..ctor_Patch0 (Chore,ChoreType,ChoreProvider,bool,System.Action`1<Chore>,System.Action`1<Chore>,System.Action`1<Chore>,PriorityScreen/PriorityClass,int,bool,bool,int,bool,ReportManager/ReportType)
Chore`1<FetchAreaChore/StatesInstance>:.ctor (ChoreType,IStateMachineTarget,ChoreProvider,bool,System.Action`1<Chore>,System.Action`1<Chore>,System.Action`1<Chore>,PriorityScreen/PriorityClass,int,bool,bool,int,bool,ReportManager/ReportType)
FetchAreaChore:.ctor (Chore/Precondition/Context)
FetchChore:PrepareChore (Chore/Precondition/Context&)
ChoreDriver:SetChore (Chore/Precondition/Context)
Brain:UpdateChores ()
Brain:UpdateBrain ()
MinionBrain:UpdateBrain ()
BrainScheduler/BrainGroup:RenderEveryTick (single,bool)
BrainScheduler:RenderEveryTick (single)
SimAndRenderScheduler/RenderEveryTickUpdater:Update (IRenderEveryTick,single)
UpdateBucketWithUpdater`1<IRenderEveryTick>:Update (single)
StateMachineUpdater/BucketGroup:AdvanceOneSubTick (single)
StateMachineUpdater:RenderEveryTick (single)
Game:LateUpdate ()

Build: U35-477316-S

closed time in 4 days

mesilliac

issue commentasquared31415/ONI-mods

Priority Zero crash

I believe this was fixed by v2.0.1

mesilliac

comment created time in 4 days

push eventasquared31415/rust

asquared31415

commit sha 05460d0efcf16ed1c437c721beafd65babd7c1ef

update test

view details

push time in 7 days

push eventasquared31415/rust

asquared31415

commit sha 0dbcd8f5cf4223e2565afc60dcdaa1ec4994179d

update test

view details

push time in 7 days

push eventasquared31415/rust

Mara Bos

commit sha d5aec64c12db44ddcfbf8682b9ec4e515a6f9953

Add proc_macro::Span::{before, after}.

view details

Mara Bos

commit sha f9be6cd8988a48a532c99a9f5b887a6d354e5b2f

Add tracking issue number to proc_macro_span_shrink.

view details

Kevin Reid

commit sha 07988bb8a1ce5b6732d351c4299f0b0a4d51e192

Reword description of automatic impls of `Unsize`. The existing documentation felt a little unhelpfully concise, so this change tries to improve it by using longer sentences, each of which specifies which kinds of types it applies to as early as possible. In particular, the third item starts with “Structs ...” instead of saying “Foo is a struct” later. Also, the previous list items “Only the last field has a type involving `T`” and “`T` is not part of the type of any other fields” are, as far as I see, redundant with each other, so I removed the latter.

view details

Esteban Kuber

commit sha 34d19634f5ae448ff3fb281b22306cc8cfa3ee8c

Use smaller spans for some structured suggestions Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212

view details

Fabian Wolff

commit sha 2884a74d083cc6d601e5f1e53cc33b60e9655cfc

Fix non-capturing closure return type coercion

view details

Amanieu d'Antras

commit sha 4d6bfdec9e2b4f613fffca2dd92af4ad744d3f9e

Improve error message when _ is used for in/inout asm operands

view details

Camille GILLOT

commit sha 5e35fadddb8b91f6f7d47fb19e635d1fb1b2a965

Move dep_graph checking into try_load_from_disk_and_cache_in_memory.

view details

Camille GILLOT

commit sha 0edc775b90a6892a37ec4d41f72417fc379e67db

Only clone key when needed.

view details

Camille GILLOT

commit sha cd1cb3449e3c92f6fbcd907d58b3009b1067d7f0

Simplify control flow.

view details

Camille GILLOT

commit sha c3bf3969d408f46881908336f9e3a8721601abc4

Move assertion inwards. `with_taks_impl` is only called from `with_eval_always_task` and `with_task` . The former is only used in query invocation, while the latter is also used to start the `tcx` and to trigger codegen. This move should not change significantly the number of calls to this assertion.

view details

Camille GILLOT

commit sha 45d6decc19b419448961fdb5ba3e062c9267a393

Remove try_mark_green_and_read.

view details

Camille GILLOT

commit sha 283a8e14453c9f1532087caa1aa08743c8f4c58d

Make all query forcing go through try_execute_query. try_execute_query is now able to centralize the path for query get/ensure/force. try_execute_query now takes the dep_node as a parameter, so it can accommodate `force`. This dep_node is an Option to avoid computing it in the `get` fast path. try_execute_query now returns both the result and the dep_node_index to allow the caller to handle the dep graph. The caller is responsible for marking the dependency.

view details

Camille GILLOT

commit sha 13d4eb92b8894c54dd3f35c4bc362d3d51008b76

Do not compute the dep_node twice.

view details

Camille GILLOT

commit sha d2304008c1ea8985f21e98ecdba3108611e8786d

Complete job outside of force_query_with_job.

view details

Camille GILLOT

commit sha 307aacaf05419fbd45c9c5c428cb1004801f455b

Decouple JobOwner from cache.

view details

Camille GILLOT

commit sha ef4becdce4198107507734246f6ffd053d0b8c67

Split try_execute_query.

view details

Camille GILLOT

commit sha f2c8707abbedee2587b5653a42e0860a101f0ddf

Remove force_query_with_job.

view details

Camille GILLOT

commit sha eeb3c8f4b786cd97028b9f1e134cb628c8879569

Unify `with_task` functions. Remove with_eval_always_task.

view details

Camille GILLOT

commit sha 31330bfce12f59b9c9a4d7b20235fdc38dcf7583

Use variable.

view details

Michael Howell

commit sha fe1a7f71fbf3cf845a09a9b333a6adcf7e839607

rustc: use more correct span data in for loop desugaring Before: help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped | LL | for x in DroppingSlice(&*v).iter(); { | + After: help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped | LL | }; | + This seems like a reasonable fix: since the desugared "expr_drop_temps_mut" contains the entire desugared loop construct, its span should contain the entire loop construct as well.

view details

push time in 7 days

push eventasquared31415/rust

Mara Bos

commit sha d5aec64c12db44ddcfbf8682b9ec4e515a6f9953

Add proc_macro::Span::{before, after}.

view details

Mara Bos

commit sha f9be6cd8988a48a532c99a9f5b887a6d354e5b2f

Add tracking issue number to proc_macro_span_shrink.

view details

Kevin Reid

commit sha 07988bb8a1ce5b6732d351c4299f0b0a4d51e192

Reword description of automatic impls of `Unsize`. The existing documentation felt a little unhelpfully concise, so this change tries to improve it by using longer sentences, each of which specifies which kinds of types it applies to as early as possible. In particular, the third item starts with “Structs ...” instead of saying “Foo is a struct” later. Also, the previous list items “Only the last field has a type involving `T`” and “`T` is not part of the type of any other fields” are, as far as I see, redundant with each other, so I removed the latter.

view details

Esteban Kuber

commit sha 34d19634f5ae448ff3fb281b22306cc8cfa3ee8c

Use smaller spans for some structured suggestions Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212

view details

Fabian Wolff

commit sha 2884a74d083cc6d601e5f1e53cc33b60e9655cfc

Fix non-capturing closure return type coercion

view details

Amanieu d'Antras

commit sha 4d6bfdec9e2b4f613fffca2dd92af4ad744d3f9e

Improve error message when _ is used for in/inout asm operands

view details

Camille GILLOT

commit sha 5e35fadddb8b91f6f7d47fb19e635d1fb1b2a965

Move dep_graph checking into try_load_from_disk_and_cache_in_memory.

view details

Camille GILLOT

commit sha 0edc775b90a6892a37ec4d41f72417fc379e67db

Only clone key when needed.

view details

Camille GILLOT

commit sha cd1cb3449e3c92f6fbcd907d58b3009b1067d7f0

Simplify control flow.

view details

Camille GILLOT

commit sha c3bf3969d408f46881908336f9e3a8721601abc4

Move assertion inwards. `with_taks_impl` is only called from `with_eval_always_task` and `with_task` . The former is only used in query invocation, while the latter is also used to start the `tcx` and to trigger codegen. This move should not change significantly the number of calls to this assertion.

view details

Camille GILLOT

commit sha 45d6decc19b419448961fdb5ba3e062c9267a393

Remove try_mark_green_and_read.

view details

Camille GILLOT

commit sha 283a8e14453c9f1532087caa1aa08743c8f4c58d

Make all query forcing go through try_execute_query. try_execute_query is now able to centralize the path for query get/ensure/force. try_execute_query now takes the dep_node as a parameter, so it can accommodate `force`. This dep_node is an Option to avoid computing it in the `get` fast path. try_execute_query now returns both the result and the dep_node_index to allow the caller to handle the dep graph. The caller is responsible for marking the dependency.

view details

Camille GILLOT

commit sha 13d4eb92b8894c54dd3f35c4bc362d3d51008b76

Do not compute the dep_node twice.

view details

Camille GILLOT

commit sha d2304008c1ea8985f21e98ecdba3108611e8786d

Complete job outside of force_query_with_job.

view details

Camille GILLOT

commit sha 307aacaf05419fbd45c9c5c428cb1004801f455b

Decouple JobOwner from cache.

view details

Camille GILLOT

commit sha ef4becdce4198107507734246f6ffd053d0b8c67

Split try_execute_query.

view details

Camille GILLOT

commit sha f2c8707abbedee2587b5653a42e0860a101f0ddf

Remove force_query_with_job.

view details

Camille GILLOT

commit sha eeb3c8f4b786cd97028b9f1e134cb628c8879569

Unify `with_task` functions. Remove with_eval_always_task.

view details

Camille GILLOT

commit sha 31330bfce12f59b9c9a4d7b20235fdc38dcf7583

Use variable.

view details

Michael Howell

commit sha fe1a7f71fbf3cf845a09a9b333a6adcf7e839607

rustc: use more correct span data in for loop desugaring Before: help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped | LL | for x in DroppingSlice(&*v).iter(); { | + After: help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped | LL | }; | + This seems like a reasonable fix: since the desugared "expr_drop_temps_mut" contains the entire desugared loop construct, its span should contain the entire loop construct as well.

view details

push time in 7 days

Pull request review commentrust-lang/rust

Fix ICE when `start` lang item has wrong generics

 trait Sized {} auto trait Freeze {}  #[lang = "start"]-fn start(_main: *const u8, _argc: isize, _argv: *const *const u8) -> isize {+fn start<T>(_main: *const u8, _argc: isize, _argv: *const *const u8) -> isize {

While that isn't strictly needed because it's unused and raw ptrs and fn ptrs have the same ABI, it is more correct, thanks.

asquared31415

comment created time in 11 days

PullRequestReviewEvent

push eventasquared31415/rust

asquared31415

commit sha 8be3e26dd91f71449672724f2efe7f90cc85e97e

update test

view details

push time in 11 days

push eventasquared31415/rust

asquared31415

commit sha 2052839b7db0406634a518b0b9df1d24facbc506

Fix ICE when `start` lang item has wrong generics

view details

push time in 12 days

pull request commentrust-lang/rust

Fix ICE when `start` lang item has wrong generics

Not entirely sure of the purpose of that test, but simple enough to fix since it seems to be a stub

asquared31415

comment created time in 12 days

push eventasquared31415/rust

David Carlier

commit sha ec4a9da8681707483112d9eeab5f521d275b7483

update of the CI freebsd toolchain adding libproctsta, for the upcoming libc update.

view details

bjorn3

commit sha 102264652e3b8ea3f9dbe61ca5fa68051802349d

Revert "Remove optimization_fuel_crate from Session" This reverts commit 5464b2e713d5366b3aec5c6eebbe1b84a782c51e.

view details

bors

commit sha 02a57fa13291f5bbb9d8efbc71f7423642b8d105

Auto merge of #88748 - bjorn3:try_fix_perf_regression, r=wesleywiser Revert "Remove optimization_fuel_crate from Session" This reverts commit 5464b2e713d5366b3aec5c6eebbe1b84a782c51e. This hopefully fixes the perf regression in https://github.com/rust-lang/rust/pull/88530#issuecomment-915314117.

view details

bors

commit sha 497ee321af3b8496eaccd7af7b437f18bab81abf

Auto merge of #88676 - devnexen:fbsd_toolchain_upd, r=Mark-Simulacrum update of the CI freebsd toolchain adding libproctsta, for the upcoming libc update.

view details

push time in 12 days

push eventasquared31415/rust

Abdalrhman Mohamed

commit sha e66dafcd247d542198b31bd413f65906facd4fd4

Pass correct line number for indented code blocks.

view details

F3real

commit sha ede977cf3131caeaac71e36c32390ca3c5b4deda

Update suggestion in case of index for unnecessary_operation lint

view details

Mara Bos

commit sha 8e563b5468d325262d38ecba873bfd3fd3708fa4

Bless clippy tests.

view details

flip1995

commit sha 1ad54642008b185f5691e5cac1148147d29fc00f

Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup

view details

Guillaume Gomez

commit sha fd5427b68643391b56d51448ee5fdce1cd6f63f1

Rollup merge of #87885 - m-ou-se:edition-guide-links, r=rylev Link to edition guide instead of issues for 2021 lints. This changes the 2021 lints to not link to github issues, but to the edition guide instead. Fixes #86996

view details

xFrednet

commit sha 09b7745f34b8d81c1d4517975f2e552274977f45

Updated lint message for `rc_mutex`

view details

xFrednet

commit sha 206741bf57361efcd04243b9e2e6275701c15c76

Use `avoid_breaking_exported_api` for `types` module lints Addressed PR reviews regarding code style

view details

xFrednet

commit sha c02dcd5405cc11270bef963c37837a944a672f6a

Update type UI tests to use private items

view details

bors

commit sha b4d76b42fd12d963eddafb7e1d9b8559951f73be

Auto merge of #7560 - xFrednet:7289-configuration-for-every-type-lint, r=camsteffen Use `avoid-breaking-exported-api` configuration in types module This PR empowers our lovely `avoid-breaking-exported-api` configuration value to also influence the emission of lints inside the `types` module. (That's pretty much it, not really a change worthy of writing a fairy tale about. Don't get me wrong, I would love to write a short one, but I sadly need to study now). --- Closes: rust-lang/rust-clippy#7489 changelog: The `avoid-breaking-exported-api` configuration now also works for [`box_vec`], [`redundant_allocation`], [`rc_buffer`], [`vec_box`], [`option_option`], [`linkedlist`], [`rc_mutex`] changelog: [`rc_mutex`]: update the lint message to comply with the normal format --- r? `@camsteffen,` as you implemented the configuration value cc: `@flip1995,` as we've discussed this change in rust-lang/rust-clippy#7308

view details

bors

commit sha 456e48f39eeebafdb901e9cb1cff1fd08e36cab7

Auto merge of #87954 - flip1995:clippyup, r=Manishearth Update Clippy r? `@Manishearth`

view details

dswij

commit sha e9f56f949d2d1c11f1331151323beb8e85181c29

Add false positive test for iterator method

view details

dswij

commit sha 91b598a8e484da328325ece3400e8612b6f854df

Fix false positive on `filter_next`

view details

bors

commit sha 7c5487dc62d569d4bc32cbe51951668406242137

Auto merge of #7562 - dswij:filter-next-false-positive, r=xFrednet Fix false positive on `filter_next` fixes #7561 changelog: Fix false positive on [`filter_next`] when a method does not implement `Iterator`

view details

Deadbeef

commit sha 80bff87c6f22b98c5a7c0cb36233e4e2ba7e5a56

move Constness into TraitPredicate

view details

David Tolnay

commit sha 3c8eaa8b2c2d594d39810fc2f2a62098c4107c80

Downgrade option_if_let_else to nursery

view details

Jason Newcomb

commit sha 4838c78ba4ef784379ae6ec5617479de2a32d3f6

Improve `manual_map` and `map_entry` Locals which can be partially moved created within the to-be-created closure shouldn't block the use of a closure

view details

Jason Newcomb

commit sha 251dd30d77c98cbebd1c68840fce029affe9b6a8

Improve `manual_map` In some cases check if a borrow made in the scrutinee expression would prevent creating the closure used by `map`

view details

Jason Newcomb

commit sha 9500974bdb5f7cd9a8ba056b41bd5af5f373e0d3

Fix tracking of which locals would need to be captured in a closure. * Captures by sub closures are now considered * Copy types are correctly borrowed by reference when their value is used * Fields are no longer automatically borrowed by value * Bindings in `match` and `let` patterns are now checked to determine how a local is captured

view details

Jason Newcomb

commit sha 5e4d8b44f9524f28fd1ebca18f48ecad204cf184

Improve doc for `can_move_expr_to_closure_no_visit`

view details

Jason Newcomb

commit sha 10c0460a471d03a633cd15367bf0a85c007e0219

update stderr messages

view details

push time in 12 days

PR opened rust-lang/rust

Fix ICE when `start` lang item has wrong generics

In my previous pr #87875 I missed the requirements on the start lang item due to its relative difficulty to test and opting for more conservative estimates. This fixes that by updating the requirement to be exactly one generic type.

The start lang item should have exactly one generic type for the return type of the main fn ptr passed to it. I believe having zero would previously sometimes compile (often with the use of fn() -> () as the fn ptr but it was likely UB to call if the return type of main was not () as far as I know) however it also sometimes would not for various errors including ICEs and LLVM errors depending on exact situations. Having more than 1 generic has always failed with an ICE because only the one generic type is expected and provided.

Fixes #79559, #73584, #83117 (all duplicates) Relevant to #9307

r? @cjgillot

+30 -11

0 comment

3 changed files

pr created time in 12 days

push eventasquared31415/rust

push time in 12 days

push eventasquared31415/rust

Abdalrhman Mohamed

commit sha e66dafcd247d542198b31bd413f65906facd4fd4

Pass correct line number for indented code blocks.

view details

F3real

commit sha ede977cf3131caeaac71e36c32390ca3c5b4deda

Update suggestion in case of index for unnecessary_operation lint

view details

Mara Bos

commit sha 8e563b5468d325262d38ecba873bfd3fd3708fa4

Bless clippy tests.

view details

flip1995

commit sha 1ad54642008b185f5691e5cac1148147d29fc00f

Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup

view details

Guillaume Gomez

commit sha fd5427b68643391b56d51448ee5fdce1cd6f63f1

Rollup merge of #87885 - m-ou-se:edition-guide-links, r=rylev Link to edition guide instead of issues for 2021 lints. This changes the 2021 lints to not link to github issues, but to the edition guide instead. Fixes #86996

view details

xFrednet

commit sha 09b7745f34b8d81c1d4517975f2e552274977f45

Updated lint message for `rc_mutex`

view details

xFrednet

commit sha 206741bf57361efcd04243b9e2e6275701c15c76

Use `avoid_breaking_exported_api` for `types` module lints Addressed PR reviews regarding code style

view details

xFrednet

commit sha c02dcd5405cc11270bef963c37837a944a672f6a

Update type UI tests to use private items

view details

bors

commit sha b4d76b42fd12d963eddafb7e1d9b8559951f73be

Auto merge of #7560 - xFrednet:7289-configuration-for-every-type-lint, r=camsteffen Use `avoid-breaking-exported-api` configuration in types module This PR empowers our lovely `avoid-breaking-exported-api` configuration value to also influence the emission of lints inside the `types` module. (That's pretty much it, not really a change worthy of writing a fairy tale about. Don't get me wrong, I would love to write a short one, but I sadly need to study now). --- Closes: rust-lang/rust-clippy#7489 changelog: The `avoid-breaking-exported-api` configuration now also works for [`box_vec`], [`redundant_allocation`], [`rc_buffer`], [`vec_box`], [`option_option`], [`linkedlist`], [`rc_mutex`] changelog: [`rc_mutex`]: update the lint message to comply with the normal format --- r? `@camsteffen,` as you implemented the configuration value cc: `@flip1995,` as we've discussed this change in rust-lang/rust-clippy#7308

view details

bors

commit sha 456e48f39eeebafdb901e9cb1cff1fd08e36cab7

Auto merge of #87954 - flip1995:clippyup, r=Manishearth Update Clippy r? `@Manishearth`

view details

dswij

commit sha e9f56f949d2d1c11f1331151323beb8e85181c29

Add false positive test for iterator method

view details

dswij

commit sha 91b598a8e484da328325ece3400e8612b6f854df

Fix false positive on `filter_next`

view details

bors

commit sha 7c5487dc62d569d4bc32cbe51951668406242137

Auto merge of #7562 - dswij:filter-next-false-positive, r=xFrednet Fix false positive on `filter_next` fixes #7561 changelog: Fix false positive on [`filter_next`] when a method does not implement `Iterator`

view details

Deadbeef

commit sha 80bff87c6f22b98c5a7c0cb36233e4e2ba7e5a56

move Constness into TraitPredicate

view details

David Tolnay

commit sha 3c8eaa8b2c2d594d39810fc2f2a62098c4107c80

Downgrade option_if_let_else to nursery

view details

Jason Newcomb

commit sha 4838c78ba4ef784379ae6ec5617479de2a32d3f6

Improve `manual_map` and `map_entry` Locals which can be partially moved created within the to-be-created closure shouldn't block the use of a closure

view details

Jason Newcomb

commit sha 251dd30d77c98cbebd1c68840fce029affe9b6a8

Improve `manual_map` In some cases check if a borrow made in the scrutinee expression would prevent creating the closure used by `map`

view details

Jason Newcomb

commit sha 9500974bdb5f7cd9a8ba056b41bd5af5f373e0d3

Fix tracking of which locals would need to be captured in a closure. * Captures by sub closures are now considered * Copy types are correctly borrowed by reference when their value is used * Fields are no longer automatically borrowed by value * Bindings in `match` and `let` patterns are now checked to determine how a local is captured

view details

Jason Newcomb

commit sha 5e4d8b44f9524f28fd1ebca18f48ecad204cf184

Improve doc for `can_move_expr_to_closure_no_visit`

view details

Jason Newcomb

commit sha 10c0460a471d03a633cd15367bf0a85c007e0219

update stderr messages

view details

push time in 12 days

create barnchasquared31415/rust

branch : issue-79559

created branch time in 15 days

push eventasquared31415/rust

Taylor Yu

commit sha ce982a35e18e08b81a1524435f390b291f6e32b8

debug for suggest_unsized_bound_if_applicable

view details

Taylor Yu

commit sha 2862f08b79c73233e338a063d7a58e642903c9f5

factor out maybe_suggest_unsized_generics

view details

Taylor Yu

commit sha 437b2026e1bfcb1f28d838f3a2a24b23f0401b53

factor out maybe_indirection_for_unsized

view details

Taylor Yu

commit sha 69f0dc69a45889f58c5e13fabdd8c8eabfd604a1

deindent unsized suggestions Move stuff out of loops. Use early returns.

view details

Taylor Yu

commit sha 3252432c27c8ff14f52ce04fa08c6bb73ce40ebe

improve comments for unsized suggestions

view details

Chris Denton

commit sha 565a51973a4f64f522e66c8af87bad339c966f31

Update Windows arg parsing tests This updates the tests to be consistent with argv in modern C/C++ applications.

view details

Chris Denton

commit sha e26dda564219341e25589ff745b16258ad424b78

Implement modern Windows arg parsing As derived from extensive testing of `argv` in a C/C++ application. Co-Authored-By: Jane Lusby <jlusby42@gmail.com>

view details

Josh Triplett

commit sha 40466672b5988e8bdbbcf089c788003e3c81b1b3

Stabilize std::os::unix::fs::chroot

view details

Ariel Davis

commit sha 003a636e760d50f4e1e96101f8e9994ac3758135

Add an example for deriving PartialOrd on enums For some reason, I always forget which variants are smaller and which are larger when you derive PartialOrd on an enum. And the wording in the current docs is not entirely clear to me. So, I often end up making a small enum, deriving PartialOrd on it, and then writing a `#[test]` with an assert that the top one is smaller than the bottom one (or the other way around) to figure out which way the deriving goes. So then I figured, it would be great if the standard library docs just had that example, so if I keep forgetting, at least I can figure it out quickly by looking at std's docs.

view details

Pietro Albini

commit sha 9df630707efbb1fbd92e14f06b7d23ec947f3602

make sure FileCheck is copied in the LLVM output directory The tool, which is needed by parts of our test suite, is built as part of LLVM but is *not* copied to the directory containing the output LLVM binaries. This adds a flag to ensure the binary is copied. This shouldn't add any extra built time, as the flag just installs extra binaries that were already compiled.

view details

Michael Woerister

commit sha af1b65cb18d5fa1358d1ae7a8ed3b1f7c635b6b5

Path remapping: Make behavior of diagnostics output dependent on presence of --remap-path-prefix.

view details

Andy Wang

commit sha 8436fe1f2938878aeb2b1b542cd7d54a605b1c70

Add test for showing remapped path in diagnostics

view details

Michael Woerister

commit sha c296c89be601a57597a1c262b9e3a4c9b4d056cf

Fix remap-path-prefix UI test case.

view details

Esteban Kuber

commit sha c6d800d85439d0a95a2943905d0fd3842fa4dd20

Point at unclosed delimiters as part of the primary MultiSpan Both the place where the parser encounters a needed closed delimiter and the unclosed opening delimiter are important, so they should get the same level of highlighting in the output.

view details

terrarier2111

commit sha 3e477c1772d977589b28e09677d68a86fa4644cd

Fix a typo in raw_vec

view details

patrick-gu

commit sha 5719d221252e5b541dfc3d6d6557f73875fc76b4

Add links in docs for some primitive types

view details

Jethro Beekman

commit sha 446c42945d7518e848ba9b9f7c844d6b3cc7b892

Fix LLVM libunwind build for non-musl targets Broken in #85600

view details

Alexander Theißen

commit sha 14cbb4b78d532532f611d5653f169319bdf50b75

Add regression test for a spurious import

view details

David Carlier

commit sha 8539a3c001c4ae7400d5b4643681ee8e7dbfff24

sunos systems add sanitizer supported.

view details

ibraheemdev

commit sha b99038f4780d918224cd1aed6da2f9d6b42e7481

use `unwrap_unchecked` where possible

view details

push time in 15 days

issue commentrust-lang/rust

ICE when using `#[lang = "start"]` in a `#[no_std]` static library

Duplicate of #79559

jeremydavis519

comment created time in 15 days

issue commentrust-lang/rust

internal compiler error using lang items

@bjorn3 Can you give an example of it working correctly in the same crate? Whenever I try to use it in the same crate I get an LLVM error called function is not the same type as the call when the lang item is not generic when using a distributed rustc and the aforementioned linker errors when using the rustc test suite whether or not it is generic.

Honestly I'm surprised it gets this far at all because it is meant to be generic always and I would have expected a generic substitutions error. I think the correct course of action is to require the start lang item to have one generic type, because we should substitute in the return type of the main fn that gets passed to it. This would end up fixing this ICE because then it would not assume it can codegen locally and defer to linking to the proper crate.

jonay2000

comment created time in 15 days

push eventasquared31415/rust

Léo Lanteri Thauvin

commit sha 9c7dbe82e736a657b298e41cd4640100218b37e2

Notify when an `I-prioritize` issue is closed

view details

Count Count

commit sha 27393d5ca63c55313182bd6cbb8ef2ecd4c1472f

fix incomplete UTF-8 writes in Windows console stdio

view details

Count Count

commit sha a941e68e08e3a20bf918d2291a01fda9facefb74

fix fmt

view details

Count Count

commit sha 60b149f1821377bad19d6323c9603b336922a777

Export utf8_char_width() publicly in core::std behind the "str_internals" feature gate and use it in sys::windows::stdio instead of reimplementing it there.

view details

Count Count

commit sha 0202273d403d534b4cd9a27d6de332197b85b60f

fix c&p error

view details

Count Count

commit sha d11469404274c7162b295105846f98111bc273ab

Reject byte if it cannot start a valid UTF-8 sequence.

view details

Count Count

commit sha 52713a478188203a4b4a6592e7014d5a4ef44495

fix

view details

Count Count

commit sha fb1fa97fdcad00785cece5fbd9d42157c253e976

use io::Error::new_const() everywhere

view details

Count Count

commit sha 34cfe383e5ecdea538582bd08736a80f555c0adc

correct comment

view details

Count Count

commit sha 3103f5f5501cf10c04023b74d738b245dd42cea2

rename fn write_valid_utf8() to write_valid_utf8_to_console()

view details

Count Count

commit sha 7cfbe5429458151f6cb2fbd5fe2e44c56a18b644

assert!() instead of panic!() for expected invariant

view details

Count Count

commit sha dd3b79e9ffd7559896d20546b6ba4069032f2811

comment pos

view details

Count Count

commit sha fbfde7eaaf6e95ec186c311d5044281d7b2415c6

Style only: merge with other pub use statement

view details

Andy Wang

commit sha b76ce696061f6c72a1df5aa6a935ade7cc30696b

Add test for remap-from in the form of $PWD/trailing

view details

Andy Wang

commit sha 1ced98ac651510f1a614caf287fca88721c2b983

Remap after prepending cwd

view details

Andy Wang

commit sha f3c18bb50dd9f09739cab7e69ded6ffb092ede5d

Reuse variable

view details

bstrie

commit sha 71db7cc0b40306495b8bb69baea653f4b3978c21

rustc_arena: macros 2.0

view details

Michael Watzko

commit sha 709a6c913eb44f361b264fb98cdd419dc8ae6912

Add Saturating type (based on Wrapping type)

view details

Michael Watzko

commit sha 8841155ce5bf0f814243566aeb21e2ec355026c6

Remove unused macros

view details

Michael Watzko

commit sha cdc90f9281251889156098f99ad9a42fc612fd77

Rustfmt

view details

push time in 19 days

delete branch asquared31415/rust

delete branch : asm-docs

delete time in 19 days

delete branch asquared31415/rust

delete branch : named-asm-labels

delete time in 19 days

delete branch asquared31415/rust

delete branch : naked-named-asm-exception

delete time in 19 days

delete branch asquared31415/rust

delete branch : extern-no-mangle-84204

delete time in 19 days

issue closedasquared31415/ONI-mods

Priority zero crash

Hi!

here's the log

Priority Value Out Of Range: -200

at UnityEngine.Debug.LogErrorFormat (System.String format, System.Object[] args) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at Debug.LogErrorFormat (System.String format, System.Object[] args) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 at Chore.Chore..ctor_Patch0 (Chore , ChoreType , ChoreProvider , System.Boolean , System.Action1[T] , System.Action1[T] , System.Action1[T] , PriorityScreen+PriorityClass , System.Int32 , System.Boolean , System.Boolean , System.Int32 , System.Boolean , ReportManager+ReportType ) [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at Chore1[StateMachineInstanceType]..ctor (ChoreType chore_type, IStateMachineTarget target, ChoreProvider chore_provider, System.Boolean run_until_complete, System.Action1[T] on_complete, System.Action1[T] on_begin, System.Action1[T] on_end, PriorityScreen+PriorityClass master_priority_class, System.Int32 master_priority_value, System.Boolean is_preemptable, System.Boolean allow_in_context_menu, System.Int32 priority_mod, System.Boolean add_to_daily_report, ReportManager+ReportType report_type) [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at FetchAreaChore..ctor (Chore+Precondition+Context context) [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at FetchChore.PrepareChore (Chore+Precondition+Context& context) [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at ChoreDriver.SetChore (Chore+Precondition+Context context) [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at SolidTransferArm.Sim () [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at SolidTransferArm+BatchUpdateContext.Finish () [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at SolidTransferArm.BatchUpdate (System.Collections.Generic.List1[T] solid_transfer_arms, System.Single time_delta) [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 at StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 at StateMachineUpdater.AdvanceOneSimSubTick () [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 at Game.SimEveryTick (System.Single dt) [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 at Game.Update () [0x00000] in <4d5210689d454b148ee8bf399a4b6b43>:0 Build: U33-474321-S

closed time in 22 days

Mr-FLK