-
### Code
`rustc treereduce.out -Zsanitizer=cfi --crate-type lib -Clto`
```Rust
#![feature(adt_const_params)]
mod lib {
const N_ISLANDS: usize = 4;
const N_BRIDGES: usize = 7;
const BRI…
-
Sadly I can't present a code, since it happens during compiling of a pretty big project on a system with low resources (2cpu). The error is not reproducible and happens usually when system is unde…
gtema updated
3 months ago
-
As part of supporting IDE runs we use TS "watch programs" to allow efficient recomputation of the TS program as the IDE sends us updated code for files.
However, as we also need to simultaneously s…
-
**Tested with**: closure compiler v20190929, also happens on [closure-compiler.appspot.com](https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252…
-
### Code
Company internal code, not open-source.
### Meta
`rustc --version --verbose`:
```
rustc 1.71.0 (8ede3aae2 2023-07-12) running on x86_64-apple-darwin
```
### Error output
…
-
The following is invalid code that should cause a compilation error but instead causes the compiler to crash on both stable and nightly.
### Code
proc macro:
```Rust
use proc_macro::TokenS…
-
create test.js file with only
```js
const Database = null;
```
$ java -jar compiler.jar --js test.js
test.js:1: ERROR - Duplicate let / const / class declaration in the same scope is not allowe…
-
I don't know how broadly yet, so I guess my next step is to figure out how to use a git version of rules_rust.
Here is what I know so far.
bazel build ... is trying to run build scripts for depe…
-
snippet:
````rust
#![feature(non_lifetime_binders)]
pub trait Foo {
type Bar;
}
pub struct Bar {}
pub fn f()
where
T1: for Foo,
T2: for Foo,
{
}
````
Version …
-
Suppose `collection.js`:
```js
export class A {}
export default {A}
```
and `index.js`:
```js
import {A} from './collection.js';
import collection from './collection.js';
class B extends A …