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

Rollup of 7 pull requests #135947

Merged
merged 25 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2808977
Implement `ByteStr` and `ByteString` types
joshtriplett Jan 2, 2025
dcc352f
Bless new test output (new trait impls in lists of suggestions)
joshtriplett Jan 4, 2025
fc34bea
Add `#[cfg(not(test))]` to some impls to work around https://github.c…
joshtriplett Jan 4, 2025
049217b
Add bstr files to linkchecker since they have a Deref to slice
joshtriplett Jan 5, 2025
76780fa
Support `no_rc`, `no_sync`, and `no_global_oom_handling`
joshtriplett Jan 6, 2025
22a4ec3
Omit some more `From` impls to avoid inference failures
joshtriplett Jan 12, 2025
ab2c8ff
Add missing check for async body when suggesting await on futures.
metamuffin Jan 14, 2025
7171fee
remove unnecessary collection
lcnr Jan 20, 2025
09b784f
handle global trait bounds defining assoc type
lcnr Jan 20, 2025
022e7c0
Add doc aliases for BStr and BString
joshtriplett Jan 22, 2025
865471f
Implement `CloneToUninit` for `ByteStr`
joshtriplett Jan 22, 2025
44e8c43
rustc_codegen_llvm: remove outdated asm-to-obj codegen note
ken-matsui Jan 22, 2025
4c448d5
Allow `arena_cache` queries to return `Option<&'tcx T>`
Zalathar Jan 22, 2025
cceb968
simplify parse_format::Parser::ws by using next_if
hkBst Jan 23, 2025
4f9b9a4
Remove the need to manually call set_using_internal_features
bjorn3 Jan 22, 2025
974db1a
Remove set_make_codegen_backend and set_file_loader
bjorn3 Jan 22, 2025
a77776c
Remove RunCompiler
bjorn3 Jan 22, 2025
241f824
Remove outdated sentence
bjorn3 Jan 22, 2025
08d5b23
Rollup merge of #135073 - joshtriplett:bstr, r=BurntSushi
matthiaskrgr Jan 23, 2025
4496f23
Rollup merge of #135492 - metamuffin:bug-invalid-await-suggest, r=com…
matthiaskrgr Jan 23, 2025
dafc861
Rollup merge of #135766 - lcnr:candidate-assembly-3, r=compiler-errors
matthiaskrgr Jan 23, 2025
7d31ae7
Rollup merge of #135880 - bjorn3:misc_driver_refactors, r=oli-obk
matthiaskrgr Jan 23, 2025
36da4ec
Rollup merge of #135908 - ken-matsui:remove-asm-to-obj-comment, r=com…
matthiaskrgr Jan 23, 2025
ce2a316
Rollup merge of #135911 - Zalathar:arena-cache-option, r=compiler-errors
matthiaskrgr Jan 23, 2025
7d26006
Rollup merge of #135920 - hkBst:patch-16, r=SparrowLii
matthiaskrgr Jan 23, 2025
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
Add doc aliases for BStr and BString
joshtriplett committed Jan 22, 2025
commit 022e7c0bb90e1f7e3e485f16c5c3df616113940f
1 change: 1 addition & 0 deletions library/alloc/src/bstr.rs
Original file line number Diff line number Diff line change
@@ -46,6 +46,7 @@ use crate::vec::Vec;
#[unstable(feature = "bstr", issue = "134915")]
#[repr(transparent)]
#[derive(Clone)]
#[doc(alias = "BString")]
pub struct ByteString(pub Vec<u8>);

impl ByteString {
1 change: 1 addition & 0 deletions library/core/src/bstr.rs
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ use crate::{fmt, hash};
///
#[unstable(feature = "bstr", issue = "134915")]
#[repr(transparent)]
#[doc(alias = "BStr")]
pub struct ByteStr(pub [u8]);

impl ByteStr {