]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/two-phase-nonrecv-autoref.rs
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / borrowck / two-phase-nonrecv-autoref.rs
index b29664e3d8cbd67a30a2c47fa54e2765635213a3..918c7a1be197ac630948749e3ae4ed3ec8b0c4e3 100644 (file)
 // receivers (namely, in many cases demonstrated below, the error
 // would not arise).
 
-// (If we revise the compiler or this test so that the g2p revision
-// passes, turn the `rustc_attrs` feature back on and tag the `fn
-// main` with `#[rustc_error]` so that this remains a valid
-// compile-fail test.)
-//
-// #![feature(rustc_attrs)]
-
 use std::ops::{Index, IndexMut};
 
 fn foo(x: &mut u32, y: u32) {