-
**What happened**:
While computing averaged time using time_bounds via `times = bounds.mean('d2')`, I get weird results (see example below). It's my understanding that this is a bug, but I don'…
-
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help t…
-
### Code
I suppose it has something to do with "clone_into" since this was the last line I added. Before that compiling was successful.
```Rust
let w: u32 = (b.width - b.x).ceil() …
-
### Code
```Rust
enum Status {
SystemOutage { issue_id: u32 },
}
#[tokio::main]
async fn main() {
let issues: tokio::sync::RwLock = Default::default();
let closure = |sta…
-
### Code
code from `./src/test/ui/regions/issue-78262.rs`
```rust
// revisions: nll default
// ignore-compare-mode-nll
//[nll]compile-flags: -Z borrowck=mir
trait TT {}
impl dyn TT {
…
-
### Code
```Rust
#![feature(unboxed_closures)]
async fn with_usize (f: F)
where
F : for,
for>::Output : 'any + ::core::future::Future
,
{
f(&42).await
}
```
### M…
-
reduced from `./src/test/ui/symbol-names/const-generics-demangling.rs`
### Code
```Rust
#![feature(min_const_generics, rustc_attrs)]
pub struct Unsigned;
#[rustc_symbol_name]
impl Unsign…
-
### Code
```Rust
trait TT {}
impl dyn TT {
fn func(&self) {}
}
fn main() {
let f = |x: &dyn TT| x.func();
}
```
### Meta
`rustc --version --verbose`:
```
rustc 1…
nvksv updated
3 years ago
-
### Code
```Rust
struct S;
fn f() {
S::A:: {}
}
```
### Meta
`rustc --version --verbose`:
```
rustc 1.49.0-nightly (ffa2e7ae8 2020-10-24)
binary: rustc
commit-hash: ffa2e…
-
### Code
code from glacier `fixed/63279.rs`
```Rust
#![feature(type_alias_impl_trait)]
type Closure = impl FnOnce();
fn c() -> Closure {
|| -> Closure { || () }
}
fn main() {}
`…