-
#### Analyzer package
Microsoft.CodeQuality.Analyzers
#### Analyzer
InternalOptionalParametersRequired
#### Repro steps
Consider the following code:
```csharp
class Foo
{
publ…
-
The following is a proposal to change the underlying implementation of the native `map` data structure to provide sorted key ordering, a map "slicing" operator, and a good way to efficiently store map…
-
This is a proposal for sum types, also known as discriminated unions. Sum types in Go should essentially act like interfaces, except that:
- they are value types, like structs
- the types contain…
-
This code:
```
#![feature(generic_associated_types)]
trait Foo {
type Bar(&self, val: Self::Bar) -> Self::Bar;
}
struct Qux {
x: i32,
y: i32,
}
impl Foo for Qux {
type…
-
I tried this code:
```rust
#![feature(generic_associated_types)]
trait Allocator {
type Allocated;
}
enum LinkedList {
Head,
Next(A::Allocated)
}
fn main() {}
```
…
-
### Code
```Rust
fn main() {
let arr: [u32; 3] = [0, 1, 2];
let idx = 0i32;
println!("{}", arr[idx.into()]);
}
```
### Current output
```Shell
error[E0282]: type annotati…
-
**Close-to-minimal-repro**
```cpp
#include "__stddef_max_align_t.h"
#define CHECK(...) constexpr auto result = __VA_ARGS__
int main()
{
CHECK(alignof(max_align_t) == alignof(long double));
…
cjdb updated
2 months ago
-
I've been making a start on updating glium as a follow up to the changes introduced in tomaka/glutin#864 in the hope that it lands.
The first issue I have ran into is updating the `glutin_backend` …
-
We have a number of footprints which are prefixed with 'SO':
![image](https://user-images.githubusercontent.com/1936989/56520289-ef3e1100-64f8-11e9-912d-9363e8a21fce.png)
I mentioned one that I do…
-
Goal: Solve issues raised in discussions #18 and #49.
The use case is a file system that supports more than just a single byte array as a file's data. E.g. storing thumbnails of images.
On the pub…