Registry Mirror
Skip to content

Conversation

@cpeterso

Copy link
Copy Markdown
Contributor

I added the comment about negative nsec that @catamorphism asked for in pull request #4519.

I also added an nsec range assert to Timespec::new(). If a user really wants a Timespec with an out-of-range nsec, they can allocate the Timespec directly without calling new().

catamorphism added a commit that referenced this pull request Jan 22, 2013
Add Timespec comment and assert about negative nsec
@catamorphism
catamorphism merged commit 0c276da into rust-lang:incoming Jan 22, 2013
@catamorphism

Copy link
Copy Markdown
Contributor

Thanks!

RalfJung added a commit to RalfJung/rust that referenced this pull request Sep 18, 2025
weak memory tests: add more info on where they come from, and test list of behaviors more thoroughly
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
4555: VSCode: added patchelf after download for NixOS support r=matklad a=cab404

This adds Nix support, and fixes rust-lang#4542 

4575: Use Chalk's built-in representations for fn items and pointers r=matklad a=flodiebold

The `TypeName::FnDef` was just added; the function pointer variant has existed for a while, I just forgot about it because it's special (because fn pointers can be higher-ranked over lifetimes).

We *could* also make `FnPtr` a separate `Ty` variant instead of a `TypeCtor` variant, which would make the conversion code a bit less special-casey, but it doesn't seem worth doing right now.

Co-authored-by: Vladimir Serov <me@cab404.ru>
Co-authored-by: Cabia Rangris <me@cab404.ru>
Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>
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.

2 participants