diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/incremental/remove_crate | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/incremental/remove_crate')
-rw-r--r-- | src/test/incremental/remove_crate/auxiliary/extern_crate.rs | 3 | ||||
-rw-r--r-- | src/test/incremental/remove_crate/main.rs | 24 |
2 files changed, 0 insertions, 27 deletions
diff --git a/src/test/incremental/remove_crate/auxiliary/extern_crate.rs b/src/test/incremental/remove_crate/auxiliary/extern_crate.rs deleted file mode 100644 index 1cafdf49d..000000000 --- a/src/test/incremental/remove_crate/auxiliary/extern_crate.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub fn foo(_: u8) { - -} diff --git a/src/test/incremental/remove_crate/main.rs b/src/test/incremental/remove_crate/main.rs deleted file mode 100644 index 14b80df0d..000000000 --- a/src/test/incremental/remove_crate/main.rs +++ /dev/null @@ -1,24 +0,0 @@ -// Test that removing an upstream crate does not cause any trouble. - -// revisions:rpass1 rpass2 -// aux-build:extern_crate.rs - -#[cfg(rpass1)] -extern crate extern_crate; - -pub fn main() { - #[cfg(rpass1)] - { - extern_crate::foo(1); - } - - #[cfg(rpass2)] - { - foo(1); - } -} - -#[cfg(rpass2)] -pub fn foo(_: u8) { - -} |