
It bugs me when variables of type `Ident` are called `name`. It leads to silly things like `name.name`. `Ident` variables should be called `ident`, and `name` should be used for variables of type `Symbol`. This commit improves things by by doing `s/name/ident/` on a bunch of `Ident` variables. Not all of them, but a decent chunk.
11 lines
269 B
Rust
11 lines
269 B
Rust
//@ aux-build:foreign-trait-with-assoc.rs
|
|
|
|
extern crate foreign_trait_with_assoc;
|
|
use foreign_trait_with_assoc::Foo;
|
|
|
|
// Make sure we don't try to call `fn_arg_idents` on a non-fn item.
|
|
|
|
impl Foo for Bar {}
|
|
//~^ ERROR cannot find type `Bar` in this scope
|
|
|
|
fn main() {}
|