-
### Code
```Rust
trait Service {
type S;
}
trait Framing {
type F;
}
impl Framing for () {
type F = ();
}
trait HttpService: Service {}
type BoxService = Box;
fn build_server BoxSe…
-
auto-reduced (treereduce-rust):
````rust
//@compile-flags: -Zvalidate-mir --edition=2018 -Zinline-mir=yes
use core::future::{async_drop_in_place, Future};
use core::mem::{self};
use core::pin::pin;
…
-
```
There is a problem:
Suppose we have query
Query.All().Where(p=>p.Name.Substring(10)=="Alex")
This query works fine, but
The problem:
If we write
Query.All().Select(
o=>new {Name=p=>p.Name.Subs…
-
auto-reduced (treereduce-rust):
````rust
macro_rules! y {
( $($matcher:tt)*) => {
x
};
}
const _: A<
{
y! { test.tou8 }
},
>;
````
original:
````rust
macro_rules!…
-
# Description
Sometimes the compiler doesn't seem to be able to infer that a QueryFilter's mNodeCount is lesser or equal than MaxCursorCount, this results in a compiler warning, and therefore a com…
-
auto-reduced (treereduce-rust):
````rust
async unsafe extern "C-cmse-nonsecure-entry" fn multiple_named_lifetimes(_: u8, ...) {}
````
original:
````rust
#![feature("{}" a)]
async unsafe extern "C…
-
Is it possible to specify an alternative compiler path? My project uses its own compiler but clang-uml picks up the compiler installed on the system, which is older and doesn't recognize the newer hea…
-
Another ICE when using a HRTB in a trait object similar to #130524, but in a slightly different context and with a different error.
### Code
```Rust
trait Transform {
type Output Propagate = ();…
-
### Affected rules
- A7-1-2
### Description
#### 1. `constexpr` on non-static data members
This query should exclude variables that are non-static data members. This is because the compiler r…
-
auto-reduced (treereduce-rust):
````rust
#![feature(non_lifetime_binders)]
fn Brick()
where
for T: Copy,
{
let mut foo: Option = Some(Box::new(8));
let f = move || {
println!("'{…