Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Default field values #3681

Merged
merged 37 commits into from
Nov 3, 2024
Merged
Changes from 15 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d81136d
default-field-values: initial version
estebank Aug 22, 2024
7d3823b
Remove example of using the functional update syntax and reword summary
estebank Aug 23, 2024
608c47c
Change argument for non_exhaustive to not allow it at first
estebank Aug 23, 2024
14496f3
mention future lint
estebank Aug 23, 2024
4564ea2
const patterns drawback
estebank Aug 23, 2024
ba93bfc
changes to privacy rules
estebank Aug 23, 2024
607271b
add suggested paragraph
estebank Aug 23, 2024
89e466d
Add review comments, talk about _ in struct literals
estebank Aug 23, 2024
37bb518
mention drawback of complexity of choice
estebank Aug 23, 2024
9d528a3
remove PhantomData argument as it is no longer necessary
estebank Aug 23, 2024
cb47c9b
link to RFC-0736
estebank Aug 23, 2024
9862441
remove dynamic semantics section
estebank Aug 23, 2024
ed92669
incorporate review feedback
estebank Aug 23, 2024
6aa312d
fix typo
estebank Aug 23, 2024
76e9a4c
use better structopt example
estebank Aug 23, 2024
b34f44c
some tmandry comments
estebank Aug 24, 2024
351f897
mention enum variant derive default issue
estebank Aug 25, 2024
94c8d48
move privacy behavior changes to future possibilities
estebank Aug 25, 2024
f07e3a8
add xlink
estebank Aug 25, 2024
ae62f32
mention accessing assoc-consts is allowed
estebank Aug 25, 2024
ff6e687
Mention _ for tuples
estebank Aug 25, 2024
aaf9b9a
link to perfect derives explanation
estebank Aug 25, 2024
280c94f
expand typeck rules to describe mir expansion
estebank Aug 25, 2024
9a3d726
mention the possibility to side-step imperfect derives
estebank Aug 26, 2024
013a03c
Update 0000-default-field-values.md
estebank Aug 27, 2024
121a3c0
Update 0000-default-field-values.md
estebank Aug 28, 2024
76b4016
Mention possibility of linting bad const default values
estebank Aug 28, 2024
2bf1c68
Tweak wording of non_exhaustive subtleties
estebank Aug 28, 2024
1f380fc
Fix links and typo
estebank Aug 28, 2024
318f5e6
Change FRU wording and links
estebank Aug 28, 2024
3148a9f
Update outdated `const` context message
estebank Sep 24, 2024
79e9f1b
Tweak wording
estebank Sep 24, 2024
b6a05d0
Remove caveat that is no longer true
estebank Sep 24, 2024
e4101cc
expand iif
estebank Sep 24, 2024
3ed9f27
fix typo
estebank Sep 24, 2024
096fa1c
Update text/0000-default-field-values.md
estebank Oct 29, 2024
80e8d0b
Prepare RFC 3681 to be merged
traviscross Nov 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading