Skip to content

Commit ee15363

Browse files
committed
Remove unused import from a test
I forgot to remove this import when I changed this test.
1 parent 4f84d9f commit ee15363

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

tests/ui/error-codes/E0152-duplicate-lang-items.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88

99
#![feature(lang_items)]
1010

11-
extern crate core;
12-
13-
use core::panic::PanicInfo;
14-
1511
#[lang = "eh_personality"]
1612
fn personality() {
1713
//~^ ERROR: found duplicate lang item `eh_personality`

tests/ui/error-codes/E0152-duplicate-lang-items.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0152]: found duplicate lang item `eh_personality`
2-
--> $DIR/E0152-duplicate-lang-items.rs:16:1
2+
--> $DIR/E0152-duplicate-lang-items.rs:12:1
33
|
44
LL | / fn personality() {
55
LL | |

0 commit comments

Comments
 (0)