-
To support compilers cpptools does not know how to query for system includes and system defines, perhaps the compiler querying logic could be separated out into user-serviceable definition files. Use…
-
### Code
```rust
// main.rs
type Value Value {}
impl Value> Trait for F {}
fn main() {
let _: Box = Box::new(|v: Value| v);
}
```
using a rustc built from current master, with t…
-
I tried this code:
```rust
use std::future::Future;
pub trait Service {
type Response;
type Future: Future;
}
pub trait ThriftService: Service {
fn foo(&self) {}
}
…
-
[rustc-ice-2024-08-29T22_49_11-231717.txt](https://github.com/user-attachments/files/16808116/rustc-ice-2024-08-29T22_49_11-231717.txt)
### Code
```Rust
//src/test_handling/test_runner.rs
…
-
### Code
```Rust
fn main() {
let non_secure_function =
core::mem::transmute:: _, extern "C-cmse-nonsecure-call" fn() -> _>;
}
```
### Meta
`rustc --version --verbos…
-
### Code
```Rust
#![feature(async_closure, noop_waker)]
use std::future::Future;
use std::pin::pin;
use std::task::*;
async fn empty() {}
pub async fn bug(f: F) {
f().await;
}…
-
Today, the constructor for dataframe looks like the following
```
def __init__(
self,
data=None,
index=None,
columns=None,
dtype=None,
copy=None…
-
Compilers have a set of built-in include paths and a set of pre-defined macros that they use automatically without being specified as part of a compile command.
My understanding is that clangd quer…
-
ICE when a short-ish (5 lines) implementation is uncommented.
```
mcsherry@gallustrate columnar % cargo check
Checking columnar v0.1.0 (/Users/mcsherry/Projects…
-
### Code
[playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=bb13f3b02353c83d2e6f590ed1d785c4)
(EDIT: updated to remove unstable feature)
```Rust
fn mai…