//! Check that we permit a crate-level inner attribute but reject a dangling outer attribute which //! does not have a following thing that it can target. //! //! See . #![attr = "val"] #[attr = "val"] // Unterminated //~^ ERROR expected item after attributes