From bbbfed2f93d3ba58a53ed8bf353ed11f3bb751db Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sun, 9 Aug 2015 14:15:05 -0700 Subject: Use https URLs to refer to rust-lang.org where appropriate. Also fixes a few outdated links. --- src/test/compile-fail/loops-reject-duplicate-labels-2.rs | 2 +- src/test/run-pass/cleanup-arm-conditional.rs | 10 ---------- src/test/run-pass/cleanup-shortcircuit.rs | 10 ---------- 3 files changed, 1 insertion(+), 21 deletions(-) (limited to 'src/test') diff --git a/src/test/compile-fail/loops-reject-duplicate-labels-2.rs b/src/test/compile-fail/loops-reject-duplicate-labels-2.rs index 68627ecaa71..4a3338c4bf6 100644 --- a/src/test/compile-fail/loops-reject-duplicate-labels-2.rs +++ b/src/test/compile-fail/loops-reject-duplicate-labels-2.rs @@ -16,7 +16,7 @@ // // This is testing the generalization (to the whole function body) // discussed here: -// http://internals.rust-lang.org/t/psa-rejecting-duplicate-loop-labels/1833 +// https://internals.rust-lang.org/t/psa-rejecting-duplicate-loop-labels/1833 pub fn foo() { { 'fl: for _ in 0..10 { break; } } //~ NOTE shadowed label `'fl` declared here diff --git a/src/test/run-pass/cleanup-arm-conditional.rs b/src/test/run-pass/cleanup-arm-conditional.rs index b62f2b2a8eb..58d7c1df19c 100644 --- a/src/test/run-pass/cleanup-arm-conditional.rs +++ b/src/test/run-pass/cleanup-arm-conditional.rs @@ -8,16 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// copyright 2014 the rust project developers. see the copyright -// file at the top-level directory of this distribution and at -// http://rust-lang.org/copyright. -// -// licensed under the apache license, version 2.0 or the mit license -// , at your -// option. this file may not be copied, modified, or distributed -// except according to those terms. - // Test that cleanup scope for temporaries created in a match // arm is confined to the match arm itself. diff --git a/src/test/run-pass/cleanup-shortcircuit.rs b/src/test/run-pass/cleanup-shortcircuit.rs index 0cfe739018c..6744d7d413d 100644 --- a/src/test/run-pass/cleanup-shortcircuit.rs +++ b/src/test/run-pass/cleanup-shortcircuit.rs @@ -8,16 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// copyright 2014 the rust project developers. see the copyright -// file at the top-level directory of this distribution and at -// http://rust-lang.org/copyright. -// -// licensed under the apache license, version 2.0 or the mit license -// , at your -// option. this file may not be copied, modified, or distributed -// except according to those terms. - // Test that cleanups for the RHS of shortcircuiting operators work. // pretty-expanded FIXME #23616 -- cgit 1.4.1-3-g733a5