Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
ip_constant_from_external.rs
blob: dae15623018a3eb629ce079b900bdb1ab4079379 [
file
]
//@error-in-other-file: hand-coded well-known IP address
//@no-rustfix
#![
warn
(
clippy
::
ip_constant
)]
fn
external_constant_test
()
{
let
_
=
include
!(
"localhost.txt"
);
// lint in external file `localhost.txt`
}
fn
main
()
{}