Skip to content

Instantly share code, notes, and snippets.

View Skepfyr's full-sized avatar

Jack Rickard Skepfyr

  • 20:37 (UTC +01:00)
View GitHub Profile
@Skepfyr
Skepfyr / error.rs
Created May 20, 2018 23:14
Minimal test case fo clippy compile errors
trait Foo {
type Bar;
}
struct Baz<T: Foo> {
bar: T::Bar,
}
fn take<T: Foo>(baz: Baz<T>) {}
public class Flardians {
public static final ItemType[] SELL_TYPES = new ItemType[] {ItemTypes.SLIME_BALL, ItemTypes.HARDENED_CLAY, ItemTypes.BLAZE_ROD, ItemTypes.APPLE,
ItemTypes.GHAST_TEAR, ItemTypes.COBBLESTONE, ItemTypes.STICK, ItemTypes.EMERALD,};
public static final List<ItemType> BUYING_TYPES = ImmutableList.of(ItemTypes.ACACIA_DOOR, ItemTypes.LEAVES2, ItemTypes.BOOKSHELF, ItemTypes.COAL,
ItemTypes.COBBLESTONE, ItemTypes.ANVIL, ItemTypes.IRON_ORE, ItemTypes.APPLE,
ItemTypes.WHEAT_SEEDS, ItemTypes.DIRT);
public static final Text FLARDARIAN = Texts.of(TextColors.DARK_AQUA, TextStyles.BOLD, TextStyles.ITALIC, "Flardarian");
public static final Text ITEM_DISPLAY = Texts.of(TextColors.YELLOW, TextStyles.BOLD, "[", TextColors.GREEN, TextStyles.ITALIC, "FLARD",