Closed sunshowers closed 3 months ago
Would it make sense to have a test that fails the assert_banned_idents check? (apologies if I missed it)
Good idea -- no I haven't added this yet.
Good idea -- no I haven't added this yet.
Done.
Also added a test for unnamed params here, since we're going to fix this in an upcoming PR.
Accidentally broke main 😅 fixing it in this commit because it's pretty trivial.
Noticed that channels weren't using "_dropshot_crate" sometimes, so address that.
As part of the test, introduce a syn visitor that bans particular identifiers. We're going to use this for trait-based servers as well.