Skip to content

Commit 108ebe3

Browse files
committed
ICE when applying test to crate root
1 parent df984ed commit 108ebe3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

tests/crashes/114920.rs

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// ICE when applying `#![test]` to the crate root,
2+
// though only when specified with a full path. `#![test]` is not enough.
3+
// Fixes #114920
4+
#![core::prelude::v1::test]
5+
6+
7+
8+
fn main() {} // not important to reproduce the issue

0 commit comments

Comments
 (0)