Skip to content

Migrate min_const_generics_plan from hack.md#110

Merged
BoxyUwU merged 1 commit intorust-lang:masterfrom
popzxc:add-min-const-generics-plan
May 1, 2026
Merged

Migrate min_const_generics_plan from hack.md#110
BoxyUwU merged 1 commit intorust-lang:masterfrom
popzxc:add-min-const-generics-plan

Conversation

@popzxc
Copy link
Copy Markdown
Contributor

@popzxc popzxc commented Apr 20, 2026

context

I've checked that the book builds locally; however it seems to be incompatible with mdbook v0.5 -- only got it to work with v0.4.

Because of that, I guess, the publish gh action is also broken, but the action doesn't provide an option to specify the mdbook version, so the fix is not trivial -- I decided that it wouldn't be right for me to do it. Though I can, if required.

With added section, I tried to match the existing style.

cc @BoxyUwU

Copy link
Copy Markdown
Member

@BoxyUwU BoxyUwU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx sorry i forgot about this a little

Comment thread documents/min_const_generics_plan.md Outdated

- Support struct/enum construction for when arbitrary types are allowed as const generics.
- Special case `size_of`/`align_of` to be permitted too?
- Experiment with permitting arbitrary expressions as described in [Can we fix generic_const_exprs](https://hackmd.io/@BoxyUwU/BJ6_bfmD0#Can-we-fix-generic_const_exprs) or by allowing arbitrary expressions to be used for associated consts in the type system
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we update this to be a link to this markdown file instead of to the hackmd

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -0,0 +1,383 @@
# The plan for `min_generic_const_args`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add a note to the top of this file saying this was written back in 2024 and has not been updated since so may contain dated/incorrect information

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@popzxc popzxc force-pushed the add-min-const-generics-plan branch from fe0309c to 3500a59 Compare May 1, 2026 13:52
@BoxyUwU BoxyUwU merged commit 7dc0a1d into rust-lang:master May 1, 2026
@BoxyUwU
Copy link
Copy Markdown
Member

BoxyUwU commented May 1, 2026

thx

@BoxyUwU
Copy link
Copy Markdown
Member

BoxyUwU commented May 1, 2026

oh right yeah nothing deploys lol. would you be down to remove the skill tree stuff from this repo? it's wildly out of date anyway and not useful, that should let it deploy

@popzxc
Copy link
Copy Markdown
Contributor Author

popzxc commented May 1, 2026

Sure, will do later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants