Solomon Ucko

Results 35 comments of Solomon Ucko

Would using `&Cell` or `Pin` instead of `Pin` work? (Either explicitly written or generated by an attribute/macro.)

FWIW, `#[doc(hidden)]` can be used to remove the methods from the rustdoc while leaving them publicly accessible. (See https://doc.rust-lang.org/rustdoc/the-doc-attribute.html#dochidden, https://github.com/rust-lang/api-guidelines/issues/27, and https://rust-lang.github.io/api-guidelines/documentation.html#rustdoc-does-not-show-unhelpful-implementation-details-c-hidden)

Or look for a `0` tag? https://github.com/protocolbuffers/protobuf/blob/520c601c99012101c816b6ccc89e8d6fc28fdbb8/java/core/src/main/java/com/google/protobuf/AbstractMessage.java#L421-L446 ```java @Override public BuilderType mergeFrom( final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { boolean discardUnknown = input.shouldDiscardUnknownFields(); final UnknownFieldSet.Builder unknownFields = discardUnknown...

This seems related to https://rust-lang.github.io/wg-async-foundations/vision/unresolved_questions/default_runtime.html. Another option might be to have some sort of basic (i.e. less efficient) cross-platform reference implementation of a runtime in `std`, ideally in such a...

As a workaround, you should be able to run `chmod a+x /usr/local/bin/jq` (give all users execute permission for the file).

It seems the actual relevant code is at https://github.com/rvm/rvm/blob/0233c51c9d8ca9e229833dac5f232b500d3e86e5/scripts/cli#L102-L115, which seems to just parse the arguments and set a few environment variables, which you should be able to hard-code in...

Isn't this casting *from* subclasses to *super*classes? (title)

Even better would be if it offered to install Mypy if the executable was not found.