-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
lazily calls some fns #83526
lazily calls some fns #83526
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
compiler/rustc_mir/src/borrow_check/diagnostics/outlives_suggestion.rs
Outdated
Show resolved
Hide resolved
Note that Vec::new doesn't allocate and generally has no side-effects since it's const. So it doesn't really make a difference whether it's called lazily or not. |
@rustbot label: +S-waiting-on-review -S-waiting-on-author |
@the8472 I understand, but it looks little more accurate, even better with |
@bors r+ rollup |
📌 Commit 229d199 has been approved by |
lazily calls some fns Replaced some fn's with it's lazy variants.
lazily calls some fns Replaced some fn's with it's lazy variants.
Rollup of 10 pull requests Successful merges: - rust-lang#79399 (Use detailed and shorter fs error explaination) - rust-lang#83348 (format macro argument parsing fix) - rust-lang#83462 (ExitStatus: print "exit status: {}" rather than "exit code: {}" on unix) - rust-lang#83526 (lazily calls some fns) - rust-lang#83558 (Use DebugStruct::finish_non_exhaustive() in std.) - rust-lang#83559 (Fix Debug implementation for RwLock{Read,Write}Guard.) - rust-lang#83560 (Derive Debug for io::Chain instead of manually implementing it.) - rust-lang#83561 (Improve Debug implementations of Mutex and RwLock.) - rust-lang#83567 (Update rustup cross-compilation docs link) - rust-lang#83569 (Add regression tests for rust-lang#56445) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Replaced some fn's with it's lazy variants.