Stream: t-compiler/wg-nll

Topic: amusing "bug"


Jake Goulding (Oct 29 2018 at 19:44, on Zulip):

Why can the Rust compiler break borrowing rules when using Rust 1.31?

TL;DR — Rust By Example says "this code will produce borrow checker errors". Newcomer to Rust tries it with the newest nightly, but there are no errors.

Moral of the story: NLL is going to "break" a bunch of tutorials, blog posts, slides, etc.

nikomatsakis (Oct 29 2018 at 21:10, on Zulip):

shocker that

pnkfelix (Oct 29 2018 at 22:03, on Zulip):

it also "broke" a bunch of our unit tests (that we've been fixing as we go)

Last update: Nov 21 2019 at 14:25UTC