-
### Rust Version
rustc 1.31.0-nightly (e7f5d4805 2018-10-18)
### Affected Version of clap
2.32.0
### Bug or Feature Request Summary
I compared the binary size of a "hello world" applic…
-
In the following code:
```
#[derive(Copy, Clone)]
struct Y(&'static fn(T));
```
both derives expand to impls that require the corresponding trait to be implemented on the type parameter, e.g.:
```
…
comex updated
2 weeks ago
-
### Code
I tried this code: [[playground]](https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=6375eea58c531afdd6dfd4be1563858b)
```rust
pub fn closed(v: &Vec) -> &[u8] {
…
CAD97 updated
6 months ago
-
## Comments
The check for manual `impl Object for Object` only makes sure there is no *direct* `impl Object for dyn Object` - it does not consider such indirect impls. Therefore, you can write a bl…
-
**Issue by [smklein](https://github.com/smklein)**
_Friday Oct 19, 2018 at 21:59 GMT_
_Originally opened as https://github.com/clap-rs/clap/issues/1365_
----
### Rust Version
rustc 1.31.0-nightl…
epage updated
2 years ago
-
**Issue by [alanfalloon](https://github.com/alanfalloon)**
_Thursday Apr 24, 2014 at 02:31 GMT_
_For earlier discussion, see https://github.com/rust-lang/rust/issues/13721_
_This issue was labelled…
-
### Aim
Doing code like this:
```rust
use dep::std::option::Option;
trait MySerialize {
fn serialize(self) -> [Field; N];
}
trait MyDeserialize {
fn deserialize(fields: [Field; N…
-
Should miri be able to bail out more gracefully in this scenario?
````rust
use std::mem;
pub struct S {
pub f: ::I,
}
pub trait Tr {
type I: Tr;
}
impl Tr for S {
type I …
-
Hey.
As there's been practically no movement whatsoever since 2019, I think it's fair to say that the approach of thinking every little detail through before actually adding the feature into PHP is…
-
Working with the cornell.pbrt scene, we can compare where we're taking up more time relative to PBRT rendering the same scene.
The Triangle Intersection code in particular is hot, and takes up rela…