Skip to content

cname-aware error messages for objects - #281

Merged
lkuper merged 0 commit into
rust-lang:masterfrom
lkuper:master
Mar 23, 2011
Merged

lkuper merged 0 commit into
rust-lang:masterfrom
lkuper:master

Conversation

@lkuper

@lkuper lkuper commented Mar 22, 2011

Copy link
Copy Markdown
Contributor

Support for shorter error messages that use "canonical names" for objects, instead of spitting out the entire, arbitrarily large structure of an object that appears in the wrong place.

@lkuper
lkuper merged commit 08bea1d into rust-lang:master Mar 23, 2011
oli-obk pushed a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
fix size_of_val on unsized tuples
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
Getprogname

Added `getprogname()` and `setprogname()` for all BSDs and Solaris (including Mac OS X).

Added `program_invocation_short_name` global, for Linux (glibc and Musl) which is effectively the same thing, and is what compatibility libraries like `libbsd` use to implement `getprogname()`.

Added `__progname` global for Android, which, whilst not quite the same as `getprogname` or `program_invocation_short_name`, is better than using argv[0], as it (a) avoids a common bug with no arguments (b) avoids a common bug with a NULL string in argv[0] and (c) incorporates Android's chosen name for an unknown process.
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
- `_m_paddb` for `_mm_add_pi8`
- `_m_paddw` for `_mm_add_pi16`
- `_m_paddd` for `_mm_add_pi32`
- `_m_paddsb` for `_mm_adds_pi8`
- `_m_paddsw` for `_mm_adds_pi16`
- `_m_paddusb` for `_mm_adds_pu8`
- `_m_paddusw` for `_mm_adds_pu16`
gi-dellav pushed a commit to gi-dellav/rust that referenced this pull request Dec 9, 2021
remove regex dependency (outside of tests)
workingjubilee pushed a commit to workingjubilee/rustc that referenced this pull request Jul 20, 2022
noscripter pushed a commit to noscripter/rust that referenced this pull request Sep 8, 2025
malezjaa pushed a commit to malezjaa/rust that referenced this pull request Nov 14, 2026
…manieu

Replace some custom unsafe code with `array::map`

`<[T; N]>::map` was recently stabilized (rust-lang#87174). It's not on any stable or beta yet, but we're only using it here with `cfg(feature = "nightly")` (in the functions `HashMap::get_each_mut` and `HashMap::get_each_key_value_mut`).
Sign up for free to 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.

1 participant