mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Enable test for def_id_nocore for windows
This commit is contained in:
parent
71777465cc
commit
1e1193f4fa
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