add xfail-fast directives for borrowck tests
This commit is contained in:
parent
9f8d2b97d3
commit
21fc3af031
18 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn borrow(_v: &int) {}
|
fn borrow(_v: &int) {}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
// Note: the borrowck analysis is currently flow-insensitive.
|
// Note: the borrowck analysis is currently flow-insensitive.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn borrow(v: &int, f: fn(x: &int)) {
|
fn borrow(v: &int, f: fn(x: &int)) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn take(-_v: ~int) {
|
fn take(-_v: ~int) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn borrow(v: &int, f: fn(x: &int)) {
|
fn borrow(v: &int, f: fn(x: &int)) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
// Here we check that it is allowed to lend out an element of a
|
// Here we check that it is allowed to lend out an element of a
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn match_imm_box(v: &const @option<int>) -> int {
|
fn match_imm_box(v: &const @option<int>) -> int {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn match_ref(&&v: option<int>) -> int {
|
fn match_ref(&&v: option<int>) -> int {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
// xfail-pretty -- comments are infaithfully preserved
|
// xfail-pretty -- comments are infaithfully preserved
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
// xfail-pretty -- comments are infaithfully preserved
|
// xfail-pretty -- comments are infaithfully preserved
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn borrow(_v: &int) {}
|
fn borrow(_v: &int) {}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn borrow(_v: &int) {}
|
fn borrow(_v: &int) {}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
fn borrow(_v: &int) {}
|
fn borrow(_v: &int) {}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
// exec-env:RUST_POISON_ON_FREE=1
|
// exec-env:RUST_POISON_ON_FREE=1
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
// exec-env:RUST_POISON_ON_FREE=1
|
// exec-env:RUST_POISON_ON_FREE=1
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
// exec-env:RUST_POISON_ON_FREE=1
|
// exec-env:RUST_POISON_ON_FREE=1
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-fast (compile-flags unsupported on windows)
|
||||||
// compile-flags:--borrowck=err
|
// compile-flags:--borrowck=err
|
||||||
// exec-env:RUST_POISON_ON_FREE=1
|
// exec-env:RUST_POISON_ON_FREE=1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue