Auto merge of #9294 - alex-semenyuk:enable_def_id_nocore_on_windows, r=xFrednet

Enable test for def_id_nocore for windows

Verified that it actully works on windows
changelog: none
This commit is contained in:
bors 2022-08-05 21:08:19 +00:00
commit 5721ca9a13
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 {
| ^^^^