Enable test for def_id_nocore for windows

This commit is contained in:
alex-semenyuk 2022-08-05 23:24:50 +03:00
parent 71777465cc
commit 1e1193f4fa
2 changed files with 1 additions and 2 deletions

View file

@ -1,4 +1,3 @@
// ignore-windows
// ignore-macos
#![feature(no_core, lang_items, start)]

View file

@ -1,5 +1,5 @@
error: methods called `as_*` usually take `self` by reference or `self` by mutable reference
--> $DIR/def_id_nocore.rs:28:19
--> $DIR/def_id_nocore.rs:27:19
|
LL | pub fn as_ref(self) -> &'static str {
| ^^^^