bstrie

Results 115 comments of bstrie

> having the same dependency for both an artifact dependency and a regular dependency will be an unusual case We actually do have a use for this, so perhaps not...

Please note that tracking issues are not for general discussion. Github issues are infamously, notoriously poor at hosting long and branching discussions. I ask that people please use the [t-lang/-unsafe-code-guidelines](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines)...

Relevant to this issue is a new proposed option in Miri for executing Rust code under strict provenance: https://github.com/rust-lang/miri/pull/2045

Ah, here's an example: ```rust fn foo(s: &str) -> &str { let bar = |_| { s }; bar(&String::new()) } ``` The elision rules assign the same lifetime to the...

One subtask of this is to document the limitations of type aliases WRT associated items (including enum variants, which are secretly associated items): ```rust mod my_mod { pub enum MyEnum...

Note that the `try_from` attribute on containers may often suffice for this ( https://serde.rs/container-attrs.html#from ). This issue's original example can be written as so: ```rust #[derive(Serialize, Deserialize)] #[serde(try_from="usize")] struct GreaterThan10(usize);...

+1. Nay, such is my exuberance that I dare say, ***+2***. Ever since finding out about `once_cell` I've considered it a slam-dunk for inclusion in the stdlib: it satisfies a...

Agreed with @briansmith that now is the time to talk about support for `no_std`, although I see that the author of this RFC has recently expressed dissatisfaction with spinlocks: https://matklad.github.io//2020/01/02/spinlocks-considered-harmful.html...

Do the parts regarding error reporting have any interaction with the proposed `{:!}` error formatting specifier? More generally, how does this RFC fit into the error handling blog post (https://github.com/rust-lang/blog.rust-lang.org/pull/799)?...

WRT "update RFC to be based on dyno design", can someone give a brief summary of the advantages of this new design over the old one?