profile
viewpoint
Martin Carton mcarton Eindhoven, Netherland

arthaud/moc 5

Micro Objective-C compiler

mcarton/CRAPS-Kernel 4

A simple operating system, processor and compiler for Nexys2

arthaud/egg 2

Extended Generator Generator

arthaud/GRO 1

Dépôt pour les cours et TP de « Graphes et Recherche Opérationnelle » en seconde année à l'ENSEEIHT.

arthaud/raytracer 1

A simple raytracer made in Java.

mcarton/interwiki 1

A script to change URL in your browser

mcarton/apply_attr 0

A syntax extension providing higher-order attributes to Rust.

issue commentrust-lang/rust

Regression from 1.44 to 1.45

With beta or nightly this again prints 13 as expected.

mcarton

comment created time in 3 months

issue openedrust-lang/rust

Regression from 1.44 to 1.45

The following MVE prints 42 with rustc 1.45.0 but 13 with rustc 1.44.0

struct Foo {
    x: i32,
}

fn main() {
    let mut foo = Foo { x: 42 };
    let x = &mut foo.x;
    *x = 13;
    let y = foo;
    println!("{}", y.x); // -> 42; expected result: 13
}

Initially reported on Stack Overflow.

created time in 3 months

more