Skip to content

Rollup of 13 pull requests #107530

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

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f706c3c
Include both md and yaml ICE ticket templates
estebank Jan 15, 2023
9c3fe58
small refactor to new projection code
lcnr Jan 27, 2023
85e6f38
assert that solver results are stable
lcnr Jan 27, 2023
167fbbc
rustdoc: update Source Serif 4 from 4.004 to 4.005
tspiteri Jan 27, 2023
1c3fc9d
add comment to rustdoc.css on updating filename suffixes
tspiteri Jan 27, 2023
a8418c0
avoid needless checks
tshepang Jan 28, 2023
fd649a3
Replace enum `==`s with `match`es where it makes sense
WaffleLapkin Jan 30, 2023
4d75f61
Use `Mutability::{is_mut, is_not}`
WaffleLapkin Jan 30, 2023
f1d273c
Replace some `_ == _ || _ == _`s with `matches!(_, _ | _)`s
WaffleLapkin Jan 30, 2023
e905b93
Make the "extra if in let...else block" hint a suggestion
edward-shen Jan 30, 2023
0e98a16
Track bound types like bound regions
compiler-errors Jan 17, 2023
31c14f6
rustdoc: remove unused CSS from `.setting-check`
notriddle Jan 30, 2023
e177ed3
Add tests to assert current behavior of large future sizes
bryangarza Jan 31, 2023
340414e
Review changes
WaffleLapkin Jan 31, 2023
fd5774a
Use `Edition` methods a bit more
WaffleLapkin Jan 31, 2023
5d90413
Document `rust_2015` methods
WaffleLapkin Jan 31, 2023
03158f4
Don't do `.edition().rust_*()`
WaffleLapkin Jan 31, 2023
ef6b583
Don't accept `Edition` by ref
WaffleLapkin Jan 31, 2023
0a1f14a
Clean up eslint annotations and remove unused JS function
GuillaumeGomez Jan 26, 2023
ba685ee
Update based on PR comments
bryangarza Jan 31, 2023
c8e8d6e
PointeeInfo is advisory only
RalfJung Jan 31, 2023
f75b350
rustdoc: stop making unstable items transparent
notriddle Jan 31, 2023
523ab46
Move ignore-pass to large-arg test
bryangarza Jan 31, 2023
25961ba
Rollup merge of #106898 - estebank:ice-forms-are-a-headache, r=Mark-S…
GuillaumeGomez Jan 31, 2023
eebc47b
Rollup merge of #107331 - GuillaumeGomez:cleanup-js, r=notriddle
GuillaumeGomez Jan 31, 2023
bf54246
Rollup merge of #107348 - lcnr:project-solve-new, r=compiler-errors
GuillaumeGomez Jan 31, 2023
63ec4dc
Rollup merge of #107354 - tspiteri:source-serif-4.005, r=GuillaumeGomez
GuillaumeGomez Jan 31, 2023
9f2901b
Rollup merge of #107412 - tshepang:needless-check, r=wesleywiser
GuillaumeGomez Jan 31, 2023
c47a9fb
Rollup merge of #107467 - WaffleLapkin:uneq, r=oli-obk
GuillaumeGomez Jan 31, 2023
307a879
Rollup merge of #107486 - compiler-errors:bound-ty-keep-name, r=oli-obk
GuillaumeGomez Jan 31, 2023
c4c989f
Rollup merge of #107487 - edward-shen:edward-shen/107213-round-2, r=e…
GuillaumeGomez Jan 31, 2023
f98f80f
Rollup merge of #107491 - notriddle:notriddle/setting-check, r=Guilla…
GuillaumeGomez Jan 31, 2023
35222e3
Rollup merge of #107500 - bryangarza:future-sizes-baseline-test, r=co…
GuillaumeGomez Jan 31, 2023
e478bf0
Rollup merge of #107508 - WaffleLapkin:uneq'15, r=oli-obk
GuillaumeGomez Jan 31, 2023
b1d6270
Rollup merge of #107525 - RalfJung:pointee-info, r=eddyb
GuillaumeGomez Jan 31, 2023
382aff1
Rollup merge of #107527 - notriddle:notriddle/wcagcontrast, r=Guillau…
GuillaumeGomez Jan 31, 2023
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
Prev Previous commit
Next Next commit
Move ignore-pass to large-arg test
  • Loading branch information
bryangarza committed Jan 31, 2023
commit 523ab46eaa2b7025a6ccb856e86aa612ff92c66c
1 change: 0 additions & 1 deletion tests/ui/async-await/future-sizes/future-as-arg.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// edition: 2021
// run-pass
// ignore-pass

async fn test(_arg: [u8; 8192]) {}

Expand Down
1 change: 1 addition & 0 deletions tests/ui/async-await/future-sizes/large-arg.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// compile-flags: -Z print-type-sizes --crate-type=lib
// edition: 2021
// build-pass
// ignore-pass

pub async fn test() {
let _ = a([0u8; 1024]).await;
Expand Down
20 changes: 10 additions & 10 deletions tests/ui/async-await/future-sizes/large-arg.stdout
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
print-type-size type: `[async fn body@$DIR/large-arg.rs:5:21: 7:2]`: 3076 bytes, alignment: 1 bytes
print-type-size type: `[async fn body@$DIR/large-arg.rs:6:21: 8:2]`: 3076 bytes, alignment: 1 bytes
print-type-size discriminant: 1 bytes
print-type-size variant `Suspend0`: 3075 bytes
print-type-size field `.__awaitee`: 3075 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size variant `Unresumed`: 0 bytes
print-type-size variant `Returned`: 0 bytes
print-type-size variant `Panicked`: 0 bytes
print-type-size type: `[async fn body@$DIR/large-arg.rs:9:30: 11:2]`: 3075 bytes, alignment: 1 bytes
print-type-size type: `[async fn body@$DIR/large-arg.rs:10:30: 12:2]`: 3075 bytes, alignment: 1 bytes
print-type-size discriminant: 1 bytes
print-type-size variant `Suspend0`: 3074 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
Expand All @@ -16,13 +16,13 @@ print-type-size variant `Returned`: 1024 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size variant `Panicked`: 1024 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:9:30: 11:2]>`: 3075 bytes, alignment: 1 bytes
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:10:30: 12:2]>`: 3075 bytes, alignment: 1 bytes
print-type-size field `.value`: 3075 bytes
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:9:30: 11:2]>`: 3075 bytes, alignment: 1 bytes
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:10:30: 12:2]>`: 3075 bytes, alignment: 1 bytes
print-type-size variant `MaybeUninit`: 3075 bytes
print-type-size field `.uninit`: 0 bytes
print-type-size field `.value`: 3075 bytes
print-type-size type: `[async fn body@$DIR/large-arg.rs:12:26: 14:2]`: 2050 bytes, alignment: 1 bytes
print-type-size type: `[async fn body@$DIR/large-arg.rs:13:26: 15:2]`: 2050 bytes, alignment: 1 bytes
print-type-size discriminant: 1 bytes
print-type-size variant `Suspend0`: 2049 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
Expand All @@ -33,23 +33,23 @@ print-type-size variant `Returned`: 1024 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size variant `Panicked`: 1024 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:12:26: 14:2]>`: 2050 bytes, alignment: 1 bytes
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:13:26: 15:2]>`: 2050 bytes, alignment: 1 bytes
print-type-size field `.value`: 2050 bytes
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:12:26: 14:2]>`: 2050 bytes, alignment: 1 bytes
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:13:26: 15:2]>`: 2050 bytes, alignment: 1 bytes
print-type-size variant `MaybeUninit`: 2050 bytes
print-type-size field `.uninit`: 0 bytes
print-type-size field `.value`: 2050 bytes
print-type-size type: `[async fn body@$DIR/large-arg.rs:15:26: 17:2]`: 1025 bytes, alignment: 1 bytes
print-type-size type: `[async fn body@$DIR/large-arg.rs:16:26: 18:2]`: 1025 bytes, alignment: 1 bytes
print-type-size discriminant: 1 bytes
print-type-size variant `Unresumed`: 1024 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size variant `Returned`: 1024 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size variant `Panicked`: 1024 bytes
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:15:26: 17:2]>`: 1025 bytes, alignment: 1 bytes
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:16:26: 18:2]>`: 1025 bytes, alignment: 1 bytes
print-type-size field `.value`: 1025 bytes
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:15:26: 17:2]>`: 1025 bytes, alignment: 1 bytes
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:16:26: 18:2]>`: 1025 bytes, alignment: 1 bytes
print-type-size variant `MaybeUninit`: 1025 bytes
print-type-size field `.uninit`: 0 bytes
print-type-size field `.value`: 1025 bytes
Expand Down