chore(server-policy)!: feature-gate LocalRateLimit constructor #849
Annotations
9 errors
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L91
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8
|
91 | impl RateLimit<Direct, DefaultClock> {
| ------------------------------------ associated function in this implementation
92 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L92
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8
|
91 | impl RateLimit<Direct, DefaultClock> {
| ------------------------------------ associated function in this implementation
92 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L100
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8
|
100 | impl RateLimit<Keyed, DefaultClock> {
| ----------------------------------- associated function in this implementation
101 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L101
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8
|
100 | impl RateLimit<Keyed, DefaultClock> {
| ----------------------------------- associated function in this implementation
101 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L91
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8
|
91 | impl RateLimit<Direct, DefaultClock> {
| ------------------------------------ associated function in this implementation
92 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L92
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:92:8
|
91 | impl RateLimit<Direct, DefaultClock> {
| ------------------------------------ associated function in this implementation
92 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L100
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8
|
100 | impl RateLimit<Keyed, DefaultClock> {
| ----------------------------------- associated function in this implementation
101 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
Run just check-crate linkerd-proxy-server-policy:
linkerd/proxy/server-policy/src/local_rate_limit.rs#L101
error: associated function `new` is never used
--> linkerd/proxy/server-policy/src/local_rate_limit.rs:101:8
|
100 | impl RateLimit<Keyed, DefaultClock> {
| ----------------------------------- associated function in this implementation
101 | fn new(rps: u32) -> Option<Self> {
| ^^^
|
Run just check-crate linkerd-proxy-server-policy
Process completed with exit code 1.
|
Loading