kennytm

Results 392 comments of kennytm

> also it "obviously" goes at the end because in expressions it's always a postfix operator, `let x = some_fn()?;` that would suggest the operator should be named `?`. also...

IIUC after this RFC we would have these 8 inline levels (including the `rustc_*` ones): | Attribute | LLVM function attribute | MIR inliner effect | |----|----|----| | `#[rustc_force_inline =...

According to the goroutine we are stuck at https://github.com/pingcap/tidb/blob/b9a31b231a7d9a64da81cb071b3db26fcb55cc38/br/pkg/restore/split/split.go#L96-L109 which is busy waiting on https://github.com/pingcap/tidb/blob/b9a31b231a7d9a64da81cb071b3db26fcb55cc38/br/pkg/utils/retry.go#L239-L244 there are no error logs, and the `select` does not seem to be waiting for...

You could workaround using the [`Captures` trait](https://github.com/rust-lang/rust/issues/34511#issuecomment-373423999). ```rust pub trait Captures {} impl Captures for T {} impl { pub fn foo(&mut self) -> impl FnMut() + Captures

Since "Precise capturing" #3617 also abuses the `use` keyword this may be confusing to teach about the 3 or 4 unrelated usage of the keyword (`use item;` / `impl Trait...

> What if, instead of trying to focus on this specific case where one needs to introduce outer bindings just to clone, we instead allowed one to "break out" of...

@est31 the DWARF format itself support columns. Not sure about PDB.

```rust macro_rules! unlet { ($a:ident) => { #[allow(unused_variables)] let $a: (/* this variable has been disabled in this scope */); } } ``` ```rust let a = 42; x.a =...

> These types cannot be defined as non-copyable but this invalidation only happens within specific portion of algorithm. Sorry but this speaks more about the API design of the code...

@Skgland do you have any concrete example that actually needing the type of `rest` to be known as `[u8; N-2]`?