mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
b7bc8d5cb7
There were three issues previously: * The self argument was pinned, despite Iterator::next taking an unpinned mutable reference. * A resume argument was passed, despite Iterator::next not having one. * The return value was CoroutineState<Item, ()> rather than Option<Item> While these things just so happened to work with the LLVM backend, cg_clif does much stricter checks when trying to assign a value to a place. In addition it can't handle the mismatch between the amount of arguments specified by the FnAbi and the FnSig.
10 lines
181 B
TOML
10 lines
181 B
TOML
ignore = [
|
|
"y.rs",
|
|
"example/gen_block_iterate.rs", # uses edition 2024
|
|
]
|
|
|
|
# Matches rustfmt.toml of rustc
|
|
version = "Two"
|
|
use_small_heuristics = "Max"
|
|
merge_derives = false
|