rust/tests/ui/delegation/ice-isssue-128190.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
171 B
Rust
Raw Permalink Normal View History

#![feature(fn_delegation)]
#![allow(incomplete_features)]
fn a(&self) {}
//~^ ERROR `self` parameter is only allowed in associated functions
reuse a as b;
fn main() {}