marker_lints 0.5.0

Lints for the marker_api and marker_utils crate
Documentation
1
2
3
4
5
6
7
8
#![cfg_attr(marker, warn(marker::marker_lints::not_using_has_span_trait))]

use marker_api::prelude::*;

pub fn blackjack(_: u32, _: &Span<'_>) {}
pub fn rampage(_: &marker_api::span::Span<'_>, _: bool) {}

fn main() {}