Skip to content

Commit

Permalink
Auto merge of rust-lang#9294 - alex-semenyuk:enable_def_id_nocore_on_…
Browse files Browse the repository at this point in the history
…windows, r=xFrednet

Enable test for def_id_nocore for windows

Verified that it actully works on windows
changelog: none
  • Loading branch information
bors committed Aug 5, 2022
2 parents 57731f1 + 1e1193f commit 5721ca9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/ui/def_id_nocore.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// ignore-windows
// ignore-macos

#![feature(no_core, lang_items, start)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/def_id_nocore.stderr
Original file line number Diff line number Diff line change
@@ -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 {
| ^^^^
Expand Down

0 comments on commit 5721ca9

Please sign in to comment.