Skip to content

Return Option rather than fail for shift_ref, mut_shift_ref, pop_ref, mut_pop_ref, and mut_last - #11944

Merged
bors merged 3 commits into
rust-lang:masterfrom
nathanielherman:vec_opt
Feb 1, 2014
Merged

Return Option rather than fail for shift_ref, mut_shift_ref, pop_ref, mut_pop_ref, and mut_last#11944
bors merged 3 commits into
rust-lang:masterfrom
nathanielherman:vec_opt

Conversation

@nathanielherman

Copy link
Copy Markdown
Contributor

Closes#11733

@borsbors closed this Feb 1, 2014
@bors
bors merged commit d9fadbc into rust-lang:masterFeb 1, 2014
@nathanielherman
nathanielherman deleted the vec_opt branch February 1, 2014 17:10
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 16, 2023
…r=Jarcho
Check $CARGO before $PATH
Currently, clippy will ignore $CARGO when spawning cargo commands, which can be problematic for `cargo clippy` and interop with other tools. This commit induces clippy to respect $CARGO in every case it seems likely to matter.
Fixes:
- rust-lang#11943
changelog: clippy now respects setting the `CARGO` environment variable
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
11953: fix: `extract_module` is too eager r=Veykril a=iDawer
Refactored `extract_module`.
Searching for usages and import resolving are done lazily.
Closerust-lang#11944 Co-authored-by: iDawer <ilnur.iskhakov.oss@outlook.com>
Sign up for freeto 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.

Return Option rather than fail on empty vectors.

3 participants

@nathanielherman@alexcrichton@bors