mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
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:
commit
5721ca9a13
2 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
// ignore-windows
|
||||
// ignore-macos
|
||||
|
||||
#![feature(no_core, lang_items, start)]
|
||||
|
|
|
@ -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 {
|
||||
| ^^^^
|
||||
|
|
Loading…
Reference in a new issue